Click here to Skip to main content
15,916,941 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How do I set a breakpoint and find the value of the variable you are breakpointing?

I can "Toggle Breakpoint" from Debug menu.

I can Export Breakpoint data in xml.

I can not find the value of the breakpointed variable.
Posted

To evaluate variables (and also function, properties and any valid expressions you may want to type on the fly, use the window "Quick Watch" which appears in the context menu of the code windows when you are in debugging. Also, you can show one of the Watch Windows, as well as Locals and Immediate; all of them are found from [Main menu] => Debug => Windows.

Learn your tool before doing programming!

—SA
 
Share this answer
 
Use f9 key to set/remove break point.
Or set/remove with mouse click on left sild in breakpoint area.
set break in front of variable line who's value to want to find.
run the solution when breakpoint execute ,right click and choose add to watch or quick watch option that will display variable value
 
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