Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » How to get breakpoints to work in Windows program with CDT and MinGW?
How to get breakpoints to work in Windows program with CDT and MinGW? [message #149908] Sun, 24 July 2005 18:02
Eclipse UserFriend
Originally posted by: erics.nospam.com

I installed the following:

- Eclipse 3.1
- CDT
- MinGW and it's nmake and gdb

I am not using cygwin.

I was able to build and run a console application (simple "hello world"
app). I was also able to debug the hello world app and set breakpoints
okay. The debugger stopped at the breakpoints just fine.

Next, I tried a simple Windows project. I was able to build an executable
and it runs. I was also able to set up a debug configuration (after setting
PE Windows Parser) and can run the executable with the debugger. But I
can't get it to stop at any breakpoints. What am I doing wrong?

I get the following messages in the console window:

Warning: C:\Documents and Settings\Eric\My
Documents\workspace\HelloWin/"C:/Documents: No such file or directory.
Warning: C:\Documents and Settings\Eric\My Documents\workspace\HelloWin/and:
No such file or directory.
Warning: C:\Documents and Settings\Eric\My
Documents\workspace\HelloWin/Settings/Eric/My: No such file or directory.
Warning: C:\Documents and Settings\Eric\My
Documents\workspace\HelloWin/Documents/workspace/HelloWin": No such file or
directory.
No symbol table is loaded. Use the "file" command.

(note: my workspace is set to C:\Documents and Settings\Eric\My
Documents\workspace and project is HelloWin)

I also got the above warnings with the "hello world" console app, so I don't
think they are the problem. But the symbol table one I didn't get before.
Do I have to set up a debug symbol table somehow? I poked around a little
and couldn't find anyway to do that.

Any suggestions?

Thanks.
- Eric S.
Previous Topic:CDT RC2 Debug/Launch Bugs
Next Topic:Hyperlinking (open declaration/definition) problems
Goto Forum:
  


Current Time: Sun Jul 20 01:56:04 EDT 2025

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

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

Back to the top