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

Home » Public Forums » archive » Re: debugging a c-code called by CALL_EXTERNAL
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 a c-code called by CALL_EXTERNAL [message #70203 is a reply to message #70092] Fri, 19 March 2010 12:44 Go to previous message
Chris[6] is currently offline  Chris[6]
Messages: 84
Registered: July 2008
Member
On Mar 12, 2:46 am, simona bellavista <afy...@gmail.com> wrote:
> Thanks, this can be really useful.
>
> On Mar 12, 1:17 pm, Wox <s...@nomail.com> wrote:
>
>> On Fri, 12 Mar 2010 03:51:01 -0800 (PST), simona bellavista
>
>> <afy...@gmail.com> wrote:
>>> The question is : how do I debug a c-code from idl?
>
>> You just have to attach whatever debugger you're using to
>> idl_opserver, set a breakpoint somewhere in the c-code and
>> call_external your dll.
>
>> For example in Visual C++, under "Tools" you find "Attach to
>> process..."
>
>

I've used printf for debugging purposes, despite warnings in the
documentation. It's probably not very stable but, if it works on your
machine and it's temporary, then why not?

chris
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: reading in data quickly
Next Topic: How to add a title to a multi plot page

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

Current Time: Fri Oct 17 16:23:33 PDT 2025

Total time taken to generate the page: 1.99984 seconds