comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Debugging DLMs
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Debugging DLMs [message #48359 is a reply to message #48356] Thu, 13 April 2006 11:25 Go to previous message
codepod is currently offline  codepod
Messages: 19
Registered: March 2006
Junior Member
Gareth,

What is happening is since the DLM library (DLL) isn't loaded into the
process space until IDL actually uses it, the debugger isn't aware of
its contents and disables the breakpoint.

To get around this you can just load the DLM manually using DLM_LOAD
after you start IDL. This will load the DLL into the process space and
provide the debugger with the information it needs. At this point you
can either enable your breakpoints and/or add new ones.

This is very irritating in Visual Studio and I've been bitten by it on
more than one occasion. The above solution should get you on your way.

Cheers,
-CP




gareth.price@physics.cr.man.ac.uk wrote:
> Hi there,
>
> I've been using a few DLMs that I wrote (with the guidance of Ronn
> Kling's "Calling C from IDL" book) for a while now with excellent
> results. However I've recently noticed an error I want to debug and
> have been unable to get the Visual C++ .NET debugger to work, despite
> the fact that it used to work fine when I originally wrote the code
> (using the method described in appendix C of the book).
>
> The breakpoints are fine until IDL is started when they drop out as "No
> executable code is currently loaded at this location". The only change
> I can possibly think of is that I've changed from IDL 6.1 to 6.2, but
> I've altered this in all the relevent parts of the VC++ project
> properties.
>
> I'm not particularly experienced with the VC++ compiler but don't think
> I've done anything stupid. Has anyone else had this problem and know
> what I'm doing wrong, I'm a bit stuck?
>
> Cheers, Gareth Price
[Message index]
 
Read Message
Read Message
Previous Topic: Map Projection Woes
Next Topic: Local Spatial Statistics Function (Getis-Ord Gi* and zGi*)

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 15 02:01:50 PDT 2025

Total time taken to generate the page: 1.04003 seconds