Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Debugging DLL on Windows
Debugging DLL on Windows [message #140005] Wed, 02 March 2005 13:49 Go to next message
Eclipse UserFriend
hi

I would like to debug a DLL on windows.
In fact it's an ActiveX control running in Internet Explorer.

I get an error alert when I try to attach the process :
-----
Execution is suspended because of error.
warning: Cannot insert breakpoint 1:
Cannot access memory at address 0x564f
-----

I use MinGW 3.1. and the debugger works for a simple sample (standalone)
app.

Any idea ?
Maybe I must set some gcc flags to be able to debug the DLL ?
(I am not the author of the project Makefile and I am not familiar with
gcc options)

Thanks!

arnaud
Re: Debugging DLL on Windows [message #140450 is a reply to message #140005] Wed, 09 March 2005 14:50 Go to previous message
Eclipse UserFriend
Originally posted by: dschaefe.ca.ibm.com

I've had real trouble debugging Windows apps with gcc generated DLLs. I've
tried doing this with Microsoft Flight Simulator, but with not much luck.
The issue I think is the Windows app doing things that gdb isn't expecting
and confusing it.

At any rate, I don't know of a workaround until we get a good Windows
debugger integration.

Doug

"Arnaud" <am@kikamedical.com> wrote in message
news:d051sd$6bl$1@www.eclipse.org...
> hi
>
> I would like to debug a DLL on windows.
> In fact it's an ActiveX control running in Internet Explorer.
>
> I get an error alert when I try to attach the process :
> -----
> Execution is suspended because of error.
> warning: Cannot insert breakpoint 1:
> Cannot access memory at address 0x564f
> -----
>
> I use MinGW 3.1. and the debugger works for a simple sample (standalone)
> app.
>
> Any idea ?
> Maybe I must set some gcc flags to be able to debug the DLL ?
> (I am not the author of the project Makefile and I am not familiar with
> gcc options)
>
> Thanks!
>
> arnaud
>
>
Previous Topic:Content Assist problems with STL
Next Topic:Duplicate IResourceChangeEvent for project open (Eclipse 3.0.1 + CDT 2.1.0)
Goto Forum:
  


Current Time: Mon Apr 28 01:39:11 EDT 2025

Powered by FUDForum. Page generated in 0.04177 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top