Troubleshooting

Errors and the Reason for Their Occurrence

The Autos, Call Stack, Local, Memory, Modules, Registers, This, Threads, and Watch windows cannot be chosen from the Windows option from the Debug menu.

With the exception of the Breakpoint and Exception windows, all other windows can only be chosen when the program is in the break mode. To break program execution, choose the Break option from the Debug menu after program execution starts.

The value of the variable that is monitored in the Watch Window is not displayed and an out of range error is generated.

This error occurs when program execution breaks before the variable specified in the Watch window is used. Therefore, no values are displayed for the variable.

The Run to Cursor ...

Get Special Edition Using C# now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.