Click here to Skip to main content
15,850,359 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
HI all,

i have a weird problem in visual studio. i open a solution web application apply some code change on one of the web pages and run the project. it allows to add breakpoints but the new lines that i have added do not highlight with normal yellow color like it should happen. and also the new lines which i have written do not work no effect on particular variables or objects which i changed in new code line.

i check in the tools-> options-> debugging options and unchecked the require source code to exact match with original version. but still it don't work.

does anyone know how to solve this issue?
Posted

1 solution

Hi Ravi,

Step 1: Check you are building the project in Debug mode.
Step 2: Delete the bin & obj folder and rebuild the project.
Step 3: Press ctrl+f5 to clear the cache in the browser page.
Setp 4: .pdb file gets generated on build which is the one help us debugging.
Step 5: In the config file check the attribute set as debug="true".

Hopefully this will resolve your problem.

Sriram.B
 
Share this answer
 
v2

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