Ram
Ram

Reputation: 921

Problem with breakpoints while debugging in .net

I set a breakpoint in one of the class. while debugging my vb.net winform project, the breakpoint moving to the next line which dont have any code. I could not understand what was wrong? I cleaned up my solution and re-build my solution but could not resolve this issue.

Upvotes: 1

Views: 295

Answers (1)

Chris Dunaway
Chris Dunaway

Reputation: 11216

This usually indicates that the .pdb file is out of sync with the code. Right click the solution or project and select Clean. Then rebuild the solution or project and then try to debug.

Upvotes: 1

Related Questions