Skip to Content
Beginning ASP.NET 3.5: In C# and VB
book

Beginning ASP.NET 3.5: In C# and VB

by Imar Spaanjaars
March 2008
Intermediate to advanced content levelIntermediate to advanced
766 pages
21h 15m
English
Wrox
Content preview from Beginning ASP.NET 3.5: In C# and VB

17.3. Tools Support for Debugging

With a number of short cut keys and menu items, VWD lets you move around the code that you are debugging, giving you the option to execute code line by line or larger blocks of code at once. Additionally, the IDE provides you with a lot of windows that allow you to diagnose and change the execution environment, including the values of variables at run time. You'll see how to move around code first, which is followed by a discussion on the numerous debugging windows.

17.3.1. Moving around in Debugged Code

When your code has halted on a breakpoint, you can use a number of keyboard shortcuts to determine what to do next. The following table lists the most common short cuts.

KeyDescription
F5Press this key to start debugging, as demonstrated in the previous exercise. When pressed during debugging, the code will continue until the next breakpoint is hit, or until all code is finished executing.
F11Press this key to execute the current line and step into a method that's being called if possible. You see how this works later.
F10Press this key to execute the current line without stepping into the code that is being called, unless that code itself contains a breakpoint.
Shift+F11Press this key combination to complete the code in the current method and return to the code that initially called it.
Shift+F5Press this key combination to stop debugging. This closes the browser and returns you to VWD.
Ctrl+Shift+F5Press this key combination to restart the debugging ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Beginning ASP.NET 4: in C# and VB

Beginning ASP.NET 4: in C# and VB

Imar Spaanjaars
Professional ASP.NET 3.5 SP1 Edition: In C# and VB

Professional ASP.NET 3.5 SP1 Edition: In C# and VB

Bill Evjen, Scott Hanselman, Devin Rader

Publisher Resources

ISBN: 9780470187593Purchase book