Click here to Skip to main content
15,888,454 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In vs.net 2003, after the project compilation, when there is a bug in my code, I double click on error at "Task list", the cursor in IDE stands some lines above the error location. This problem exist in the case of debugging. For example when I put a break point on a line, the cursor stands some lines above the break point location. Why? How can I fix it?
Posted

Are you trying to debug a release build? That sort of thing is pretty common when you do.
 
Share this answer
 
Thanks for your reply. No, i don't run my DLL project in release mode. I run it in DEBUG mode. Do you have any idea for this problem?
 
Share this answer
 
The most likely reason is that you're not running a build that has the saome source code as what you're looking at. The IDE is trying to find the right location, but it can't because the source code itself is wrong. This could mean that your build is failing, and you're running the ap anyhow. You say the app is a dll, so, it's possible that the exe that calls the dll is loading an old version.
 
Share this answer
 
The dll is not used in an app. I debug it in tstcntainer.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900