Monday, January 10, 2005

[Tech] Enable Debugging Ability in VC++ 6

Sometimes, we cannot set break point in some places. The issue usually comes from the lack of debugging info and can be solved by changing project setting to generate the info. It can be done by the following steps:

1. Click on the project name in 'Project Settings' (can be reached by a menu Project->Settings).
2. Choose a tab, 'C/C++', and see the settings for category 'General'. Make sure that the 'Debug Info' is not set to 'None' ('Program Database' recommended).
3. Next change to a tab, 'Link', and go to 'Debug' category. Make sure that the 'Debug Info' check box is checked.

Note that a break point in .h file can be set too. Just make sure that the previous steps are done correctly.

No comments: