By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,171 Members | 981 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,171 IT Pros & Developers. It's quick & easy.

debugging

P: 1
i have a code developed by someone i need to maintain ,to fix a bug i kept a breakpoint where i suspected but breakpoint did not invoke while debugging how to solve this problem
Sep 29 '06 #1
Share this Question
Share on Google+
1 Reply


Banfa
Expert Mod 5K+
P: 8,916
Clearly the code is not running through the location where the break point was do the following

1. Put a break point in main at the first statement (to make sure your break points are working)

2. Move your actual break point that was missed up the source tree to the previous desicsion point (if statement). Keep on doing it till you hit it.
Sep 29 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.