Debugging C code called from CALL_EXTERNAL [message #62785] |
Mon, 06 October 2008 13:13 |
Dan[1]
Messages: 7 Registered: June 2008
|
Junior Member |
|
|
Hi all,
I was wondering if anyone could give me a quick tutorial about how to
debug C code called from CALL_EXTERNAL. I know many people have
recommended the "Calling C and C++ from IDL" book, and it sounds like
it would be very informative, but I can't justify spending $50 for a
book that I would probably only use once.
I know that I am supposed to compile my source code (for the sharable
object) with the debugger flag, but I don't know when or how I should
call the debugger on this object. Also, are there any special
variables in IDL that need to be set? I am used to using GDB, but any
debugger is fine. Is the process similar for FORTRAN?
Thanks in advance for the help.
|
|
|