Article View: comp.soft-sys.matlab
Article #126Debugging MEX files
From: Wim Beckers
Date: Wed, 27 Jan 1993 11:33
Date: Wed, 27 Jan 1993 11:33
25 lines
1633 bytes
1633 bytes
We have problems in debuging matlab executables on PC's.
On VMS this is fairly simple. Just use the code below and the debugger
will be started whenever lib$signal is called.
#include libdef
#define SS$_debug 1132
lib$signal(SS$_debug);
On PC's ( metaware compiler) I don't know how to activate the debugger
from a MEX file.
Is there some way to debug MEX files on PC ?
----------------------------------$$$$$--------------------------------
Measurement and Control Group P.O. BOX 513
Department of Electrical Engineering 5600 MB Eindhoven
Eindhoven University of Technology The Netherlands
.
Email : ERMIMWEI@er.ele.tue.nl
TELEFAX : +31.40.434582
TEL : +31.40.472300 (secr.)
: +31.40.473246 (office)
Technical Details
Message-ID:
<ERMIMWEI.21@er.ele.tue.nl?>Path:
arc1-ca.pugleaf.net!sparky!uunet!ftpbox!news.acns.nwu.edu!zaphod.mps.ohio-state.edu!sample.eng.ohio-state.edu!purdue!ames!sun-barr!news2me.EBay.Sun.COM!seven-up.East.Sun.COM!sungy!news.Sweden.Sun.COM!swippy!seunet!sunic!mcsun!sun4nl!tuegate.tue.nl!E10.er.ele.tue.nl!ERMIMWEIShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!ftpbox!news.acns.nwu.edu!zaphod.mps.ohio-state.edu!sample.eng.ohio-state.edu!purdue!ames!sun-barr!news2me.EBay.Sun.COM!seven-up.East.Sun.COM!sungy!news.Sweden.Sun.COM!swippy!seunet!sunic!mcsun!sun4nl!tuegate.tue.nl!E10.er.ele.tue.nl!ERMIMWEI From: ERMIMWEI@er.ele.tue.nl (Wim Beckers) Newsgroups: comp.soft-sys.matlab Subject: Debugging MEX files Message-ID: <ERMIMWEI.21@er.ele.tue.nl?> Date: 27 Jan 93 11:33:07 GMT Sender: root@tuegate.tue.nl Organization: Electrical Engineering, Eindhoven University of Technology, The Netherlands Lines: 25