Browse by Tags

Tagged Content List
  • Blog Post: Visual Studio 2013: Working in the Breakpoints Window

      NOTE: This is an older feature. I’ve updated the information for VS2013.   The Breakpoints Window (CTRL+ALT+B) is an awesome tool. We use it frequently to aid us in our debugging efforts. Let’s take a look at some of the things you can do when working in this window.      ...
  • Blog Post: Visual Studio 2013: Working with Breakpoint Labels

      NOTE: This is an older feature. I’ve updated the information for VS2013.   The Breakpoints Window has supported adding labels since VS2010, however most people aren’t aware of this feature. But how does this help you?  Well, first, you can put friendly names for Breakpoints to make them...
  • Blog Post: Setting a Breakpoint on a Class

    General: CTRL + B Visual Basic 6: CTRL + B Visual C# 2005: CTRL + B; CTRL + D, N; CTRL + D, CTRL + N Visual C++ 2: [no shortcut] Visual C++ 6: CTRL + B Visual Studio 6: [no shortcut] Windows: ALT + D, B, F Menu: Debug | New Breakpoint | Break at Function Command: Debug.BreakatFunction Versions: 2005...
  • Blog Post: Setting a Breakpoint in the Call Stack Window

    The text version of this video can be found here: http://blogs.msdn.com/b/zainnab/archive/2010/02/05/setting-a-breakpoint-in-the-call-stack-window-vstipdebug0008.aspx     If you can't play the embedded video below, you can see it here:  http://www.youtube.com/watch?v=T_H_bLEHVZc  ...
  • Blog Post: Setting a Breakpoint with Code

    Versions: 2008,2010 Published: 10/30/2010 Code: vstipDebug0036 There will be times you want code to break when you are debugging without having to set a Breakpoint. You can do this in your code quite easily. Here is how you do it: Compiler Directive In C# and VB you need to set a compiler option that...
  • Blog Post: The Immediate Window: Design-Time Breakpoints

    Keyboard: CTRL + ALT + I Menu: Debug -> Windows -> Immediate Command: Debug.Immediate Versions: 2008,2010 Published: 9/29/2010 Code: vstipTool0096 In vstipTool0095 ( http://blogs.msdn.com/b/zainnab/archive/2010/09/28/the-immediate-window-working-with-members-vstiptool0095.aspx ) I mentioned that...
  • Blog Post: Delete All Breakpoints

    Keyboard: CTRL + SHIFT + F9 Menu: Debug -> Delete All Breakpoints Command: Debug.DeleteAllBreakpoints Versions: 2008,2010 Published: 5/7/2010 Code: vstipDebug0025 You can exercise the nuclear option on your Breakpoints and delete them all. You have a couple of options: WARNING: You had better have...
  • Blog Post: Setting a Breakpoint Filter

    Menu: [Right-Click] -> Filter; Tools -> Options -> Debugging -> General Versions: 2008,2010 Published: 5/6/2010 Code: vstipDebug0024 Breakpoint Filters are very cool! They are used when you want to take your Breakpoints to the next level and break based on thread, process, and/or machine...
  • Blog Post: Run to Cursor

    Keyboard: CTRL + F10 Menu: [Right-Click] -> Run To Cursor Command: Debug.RunToCursor Versions: 2008,2010 Published: 5/5/2010 Code: vstipDebug0023 This is one that a lot of people have told me to write about. It's been around a while but seems to get lost among all the other features that are out there...
  • Blog Post: Set a Complex Breakpoint Condition

    Menu: [Right-Click the Breakpoint] -> Condition Versions: 2008,2010 Published: 5/4/2010 Code: vstipDebug0022 So, it turns out that the REAL power of the Breakpoint Condition dialog is the ability to execute any line of code from it. You could do something really evil like reset a variable so you have...
  • Blog Post: Set a Simple Breakpoint Condition

    Menu: [Right-Click the Breakpoint] -> Condition Versions: 2008,2010 Published: 5/3/2010 Code: vstipDebug0021 Did you know you can set Conditional Breakpoints? They are arguably the most powerful among the types of Breakpoints you can set. There are many layers to using them correctly and knowing is...
  • Blog Post: Set a Breakpoint on a Function

    Keyboard: CTRL + B Menu: Debug -> New Breakpoint -> Break at Function Command: Debug.BreakatFunction Versions: 2008,2010 Published: 4/30/2010 Code: vstipDebug0020 "Normal" breakpoints are based on line and character position: But what if you don't want to break on a specific line but...
  • Blog Post: Breakpoint Hit Count

    Command: EditorContextMenus.CodeWindow.Breakpoint.BreakpointHitCount Versions: 2008,2010 Published: 4/28/2010 Code: vstipDebug0019 Download the seriously cool Tip of the Day Extension to get the daily tips delivered to your Start Page! Okay so most people know about this already but I was inspired to...
  • Blog Post: Enable or Disable All Breakpoints

    Menu: Debug -> Disable All Breakpoints; Debug -> Enable All Breakpoints Command: Debug.DisableAllBreakpoints; Debug.EnableAllBreakpoints Versions: 2008,2010 Published: 4/27/2010 Code: vstipDebug0018 Download the seriously cool Tip of the Day Extension to get the daily tips delivered to your Start...
  • Blog Post: Enable or Disable a Breakpoint

    Keyboard: CTRL + F9 Command: Debug.EnableBreakpoint Versions: 2008,2010 Published: 4/26/2010 Code: vstipDebug0017 Sometimes you want to keep a Breakpoint around but temporarily disable it. This is easy to do and is only a slight muscle memory modification from setting and removing a Breakpoint. Just...
  • Blog Post: Set or Remove a Breakpoint

    Keyboard: F9 Menu: Debug -> Toggle Breakpoint Command: Debug.ToggleBreakpoint Versions: 2008,2010 Published: 4/25/2010 Code: vstipDebug0016 To set a simple Breakpoint is pretty easy. Just find some code: The a couple of ways to set (or remove) a Breakpoint is just to hit F9 or go to Debug -> Toggle...
  • Blog Post: The Best of Visual Studio 2010: How to Import and Export Breakpoints

    Command: EditorContextMenus.CodeWindow.Breakpoint.BreakpointExport; DebuggerContextMenus.BreakpointsWindow.Exportselected; Versions: 2010 Published: 1/28/2010 Code: vstipDebug0003 Ever just wanted to email someone your Breakpoints? Maybe do a mass change to all your breakpoints at once with a text editor...
  • Blog Post: The Best of Visual Studio 2010: Searching Breakpoints

    Versions: 2010 Published: 1/27/2010 Code: vstipDebug0002 Yes, Virginia, there is a Santa Claus and he brought you the ability to search Breakpoints!!! :) In its current incarnation it is a blunt instrument but still a very powerful one. So how do you use it? Simple just follow these steps: 1. Set some...
  • Blog Post: The Best of Visual Studio 2010: Adding labels to Breakpoints

    Keyboard: ALT + F9, L Command: EditorContextMenus.CodeWindow.Breakpoint.BreakpointEditlabels Versions: 2010 Published: 1/26/2010 Code: vstipDebug0001 Did you know that Breakpoints now support labels? They do! Here is how you use them: 1. Set one or more Breakpoints in your code 2. Open the Breakpoint...
  • Blog Post: Using CTRL + ALT + B to Open the Breakpoints Window

    Keyboard: CTRL + ALT + B Menu: Debug -> Windows -> Breakpoints Command: Debug.Breakpoints Versions: 2008,2010 Published: 2/20/2010 Code: vstipDebug0011 Want to get the Breakpoints Window up fast? Just use CTRL + ALT + B to open it up or, if it already open, to give it the focus.
  • Blog Post: Setting a Tracepoint in source code

    Command: EditorContextMenus.CodeWindow.Breakpoint.BreakpointWhenHit Versions: 2008,2010 Published: 2/7/2010 Code: vstipDebug0010 Most everyone knows what a Breakpoint is but, since Visual Studio 2005, we have had Tracepoints as well. Unlike Breakpoints, Tracepoints give you the opportunity to unobtrusively...
  • Blog Post: Setting a Breakpoint in the Call Stack Window

    Keyboard: F9 (toggle Breakpoint) Menu: Debug -> Toggle Breakpoint Command: Debug.ToggleBreakpoint Versions: 2008,2010 Published: 2/5/2010 Code: vstipDebug0008 This tip has been around a long, long time and yet people still don't seem to know about it. So.for your enjoyment we present an Old School...
  • Blog Post: How to Import and Export Breakpoints

    Command: EditorContextMenus.CodeWindow.Breakpoint.BreakpointExport; DebuggerContextMenus.BreakpointsWindow.Exportselected; Versions: 2010 Published: 1/28/2010 Code: vstipDebug0003 Ever just wanted to email someone your Breakpoints? Maybe do a mass change to all your breakpoints at once with a text editor...
  • Blog Post: Searching Breakpoints

    Versions: 2010 Published: 1/27/2010 Code: vstipDebug0002 Yes, Virginia, there is a Santa Claus and he brought you the ability to search Breakpoints!!! :) In its current incarnation it is a blunt instrument but still a very powerful one. So how do you use it? Simple just follow these steps: Set some Breakpoints...
  • Blog Post: Adding labels to Breakpoints

    Keyboard: ALT + F9, L Command: EditorContextMenus.CodeWindow.Breakpoint.BreakpointEditlabels Versions: 2010 Published: 1/26/2010 Code: vstipDebug0001 Did you know that Breakpoints now support labels? They do! Here is how you use them: Set one or more Breakpoints in your code Open the Breakpoint window...
Page 1 of 1 (25 items)