View Single Post
Join Date: Dec 2005
Posts: 5,851
Reputation: Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute 
Solved Threads: 749
Team Colleague
Salem's Avatar
Salem Salem is offline Offline
Void main'ers are DOOMed

Re: Assertion Failure???

 
0
  #7
Dec 10th, 2008
Right-click on the left margin at the first line in main(), and insert break point.

Then do run->debug program.

Then hover over the { } icons which appear to figure out which is "step into", "step over", "step out" etc.

Use these to step through your code one line at a time.
At every step, examine your variables to see if they contain what you expect.

When actuality != expectation, that's a BUG.
Reply With Quote