[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mingw-users
Subject:    Re: [Mingw-users] [mingw - C/C++] How to use Insignt to debug dll?
From:       Duncan Murdoch <mingw () murdoch-sutherland ! com>
Date:       2005-09-30 13:54:16
Message-ID: 433D4388.3050805 () murdoch-sutherland ! com
[Download RAW message or body]

On 9/30/2005 3:55 AM, SourceForge.net wrote:
> Read and respond to this message at: 
> https://sourceforge.net/forum/message.php?msg_id=3361829
> By: kitovyj
> 
> How to use Insight to debug dll? Help.

One way is to attach to the process when it's running.  Compile the DLL 
with debug symbols, run the program and get the DLL loaded, then use the 
"attach <PID>" gdb command to break into the running process.

More detailed instructions on getting the PID are here: 
<http://www.stats.uwo.ca/faculty/murdoch/software/debuggingR/gdb.shtml#gdbattach>. 
  These are written assuming the main program is R (a stats package), 
but they should work for anything with obvious modifications.

Duncan Murdoch


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
MinGW-users mailing list
MinGW-users@lists.sourceforge.net

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic