Browse by Tags

Tagged Content List
  • Blog Post: Enable Debugging in Web.Config

    Versions: 2008,2010 Published: 12/14/2010 Code: vstipProj0026 If you have ever created a web project in Visual Studio then you have undoubtedly encountered this dialog: A quick read tells you that it will modify the Web.config file to enable debugging: There are a couple of things to point out here:...
  • Blog Post: Debug Executable Without Using Attach to Process

    Keyboard: CTRL + SHIFT + O Menu: File -> Open Project/Solution; File -> Add -> New Project Versions: 2008,2010 Published: 10/27/2010 Code: vstipDebug0034 Okay, so the full title here is "Debug Your Executable Without Using the Traditional 'Attach to Process' Menu Items" but that was way too...
  • Blog Post: Make Object ID

    Command: DebuggerContextMenus.AutosWindow.MakeObjectID Versions: 2008,2010 Published: 3/4/2010 Code: vstipDebug0015 Ever want to track an object even if it is out of scope? How about see if an object has been garbage collected? Well, you can do it with the Object ID! And how do you get one of these amazing...
  • Blog Post: Import and Export DataTips

    Menu: Debug -> Export DataTips.; Debug -> Import DataTips Command: Debug.ExportDataTips.; Debug.ImportDataTips Versions: 2010 Published: 3/2/2010 Code: vstipDebug0013 If you have DataTips (pinned or floating) you can import and export them! How? Just go to Debug -> Import (or Export) DataTips...
  • Blog Post: DataTip Value from the Last Debug Session

    Versions: 2010 Published: 2/26/2010 Code: vstipDebug0012 Now let me show you something seriously cool you can do with DataTips: Assuming you have pinned DataTips and you are in edit mode: You can view the values from the last debug session by simply putting your mouse over the pin in the Margin:
  • 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 Tracepoint in the Call Stack Window

    Command: EditorContextMenus.CodeWindow.Breakpoint.InsertTracepoint Versions: 2008,2010 Published: 2/6/2010 Code: vstipDebug0009 In a previous tip I showed you a classic technique of setting a Breakpoint in the Call Stack Window. The only problem with that is Breakpoints tend to be somewhat intrusive...
  • 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: Adding comments to a DataTip

    Versions: 2010 Published: 2/4/2010 Code: vstipDebug0007 You can now add comments to your DataTips Sometimes you just want to make a comment to remind yourself about something in a DataTip (pinned or floating) and now you can! Here's how you do it: Enter Debug Mode Put your mouse pointer over a variable...
  • Blog Post: Create a floating DataTip

    Versions: 2010 Published: 2/3/2010 Code: vstipDebug0006 Ever wanted to have one or more DataTips hang around so you didn't have have mess with QuickWatches? Well, today is YOUR day! Welcome to the brave new world of floating DataTips. Here's how you do it: Enter Break Mode Put your mouse pointer over...
  • Blog Post: Pin a DataTip to source

    Command: EditorContextMenus.CodeWindow.PinToSource Versions: 2010 Published: 2/2/2010 Code: vstipDebug0005 NOTE: I assume most everyone knows what a DataTip is for this tip since they have been around for at least a couple of versions or more. In VS2010 you can now pin DataTips to source code: Just put...
  • Blog Post: Using the WPF Tree Visualizer

    Versions: 2010 Published: 1/29/2010 Code: vstipDebug0004 For those not familiar with WPF Trees, check out this article: http://msdn.microsoft.com/en-us/library/ms753391(VS.100).aspx Now. For those that ARE familiar with them have we got something for you: WPF Tree Visualizer. Yes, it started out as a...
  • 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 (16 items)