Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Breakpoints cannot be set.

Status
Not open for further replies.

htakeda

IS-IT--Management
Sep 26, 2001
3
US
All,

I changed something in my properties and now I cannot set my breakpoints. When I try to set them, it comes back with "One or more breakpoints cannot be set and have been disabled. Execution will stop at the beginning of the program." and will not allow me to run in debug mode. Do you know what I can do?

regards,
Hiro
 
1. Make sure you are not running in Release mode. If you are you can still use break points but it requires some finagleing (Project settings will show this as well as the "build" window)

2. Make sure your break points are not withing comments or declarations with no assignments. Break points must be placed on executable lines.

By pressing <ctrl-b> you can see all your break points. I normally do this and remove all. Then i add new break points where i need them.


Matt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top