简体   繁体   中英

Debugging C++ project on Ubuntu in Eclipse won't stop at breakpoint

I'm running a C++ project on Ubuntu 12 in Eclipse. I put a breakpoint in the main method. I can see from the console window that the application is running. But it doesn't stop at my breakpoint. So, my question is...in Eclipse 3.7.2 why isn't it stopping at my breakpoint? Are there settings I might be missing? I have seen it stop 2 times but I click "Resume" and the application runs. But then the next several times it doesn't stop at the breakpoint. What am I missing?

Any ideas would be appreciated!

EV

Update: I'm now seeing this in my Console window:

 Error in re-setting breakpoint 2: Warning:
 Cannot insert breakpoint 2.
 Error accessing memory address 0x8054ff2: Input/output error.

 Warning:
 Cannot insert breakpoint 2.
 Error accessing memory address 0x8054ff2: Input/output error.

Eclipse will show a checked purple circle as a break point that is active and just a purple circle as a break point that is set. If yours aren't checkmarked there are several options for break points in the "breakpoints" view. Right click on the break point you have et and make sure the type is set to regular.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM