Lisp HUG Maillist Archive

using VC++ debugger for fli

Thought I'd check before concluding that this is a stupid idea...

Under Windows 2000, I've got a "master" lisp program which does fli calls 
to C routines sitting in a dll file.

It would be very convenient if I could debug the C dll using DevStudio 
while it is running as a subordinate of the lisp program.  Can this be done 
in some way?

[At present, I debug the C dll separately under DevStudio, then bolt it 
into my lisp program.  When the C dll crashes under lisp, I have to go back 
to the stand-alone devstudio version and try to suss out why it crashed.]

thanx
pt


Re: using VC++ debugger for fli

From: "Paul Tarvydas" <tarvydas@attcanada.ca>
Sent: Wednesday, June 12, 2002 19:25
Subject: using VC++ debugger for fli


> Thought I'd check before concluding that this is a stupid idea...
>
> Under Windows 2000, I've got a "master" lisp program which does fli calls
> to C routines sitting in a dll file.
>
> It would be very convenient if I could debug the C dll using DevStudio
> while it is running as a subordinate of the lisp program.  Can this be
done
> in some way?

You just have to put the Lispworks executable in
Project Settings/Debug/executable for debug session

Marc


Re: using VC++ debugger for fli

Start up Visual Studio. Instead of openning a project, open the LispWorks
exe.
It'll complain there isn't any debug info, but run it in the debugger.
You'll have to
inform VS of the DLL you want to debug first (use project options). Set
break
points in the DLL as usual and you're there.

Greg DuPertuis
President & CEO
The Adrenaline Group, Inc.
~ Innovation at the Edge ~
http://www.adrenaline.com
greg@adrenaline.com

Please note the new address & phone:

1655 Fort Myer Drive, Suite 410
Arlington, VA 22209
703.807.2700 x227
703.807.2773 (fax)

----- Original Message -----
From: "Paul Tarvydas" <tarvydas@attcanada.ca>
To: <lisp-hug@xanalys.com>
Sent: Wednesday, June 12, 2002 1:25 PM
Subject: using VC++ debugger for fli


> Thought I'd check before concluding that this is a stupid idea...
>
> Under Windows 2000, I've got a "master" lisp program which does fli calls
> to C routines sitting in a dll file.
>
> It would be very convenient if I could debug the C dll using DevStudio
> while it is running as a subordinate of the lisp program.  Can this be
done
> in some way?
>
> [At present, I debug the C dll separately under DevStudio, then bolt it
> into my lisp program.  When the C dll crashes under lisp, I have to go
back
> to the stand-alone devstudio version and try to suss out why it crashed.]
>
> thanx
> pt


Updated at: 2020-12-10 09:02 UTC