Thanks Maurice,
I had seen the article before and it is what I want to do. The author uses GDB
to attach to a process. Since Dev-C++ is built over GDB it should be able to
do the same thing. By attaching a running process I can switch back and forth
between java and C++ IDEs.
Does Dev-C++ pass commands to GDB much like a command line? Or does it call
low level functions directly? If it is the first one then maybe I could modify
the code to simply pass the "attach <PID>" to GDB. I don't relish the idea of
building and modifying a large program for such a small change but I might do
it when I had some free time. If it means learning a large complex interface
than I will just use VC++.
If anyone knows the answer to these questions I would appreciate any info.
Thanks,
Kevin
>
>
> Here is an article on debugging a GNU DLL called from a java program :-
>
> http://www-106.ibm.com/developerworks/java/library/j-jnidebug/
>
>
> You can simply specify you exe in "execute->parameters" menu option in
> Dev-C++ and compile DLL in debug and set a breakpoint
> inside it. Should work ... in theory.
>
>
> Maurice
>
--- Kevin Lahey <kla...@ya...> wrote:
> Hello,
>
> I want to attach a dll to a running process so I can debug the dll. Can the
> latest release do this? My understanding is that the debugger is built over
> GDB which can certainly do it.
>
> Thank you,
> Kevin
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Web Hosting - establish your business online
> http://webhosting.yahoo.com
>
__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com
|