Random Post: Auto Pointers
RSS .92| RSS 2.0| ATOM 0.3
  • Home
  • About
  •  

    Shortcut keys in Visual studio 2005

    December 5th, 2008

    The folowing is a description of some of the shortcut keys in Visual Studio 2005 (generously contributed by friend Premraj).

    Ctrl-Alt-V, A
    Displays the Auto window to view the values of variables currently in the scope of the current line of execution within the current procedure
    Ctrl-Alt-C
    Displays the Call Stack window to display a list of all active procedures or stack frames for the current thread of execution. Available only in break mode
    Ctrl-Alt-D
    Displays the Disassembly window
    Ctrl-Alt-I
    Displays the Immediate window, where you can evaluate expressions and execute individual commands
    Ctrl-Alt-V, L
    Displays the Locals window to view the variables and their values for the currently selected procedure in the stack frame
    Ctrl-Alt-M, 1
    Displays the Memory 1 window to view memory in the process being debugged. This is particularly useful when you do not have debugging symbols available for the code you are looking at. It is also helpful for looking at large buffers, strings, and other data that does not display clearly in the Watch or Variables window
    Ctrl-Alt-M, 2
    Displays the Memory 2 window
    Ctrl-Alt-M, 3
    Displays the Memory 3 window
    Ctrl-Alt-M, 4
    Displays the Memory 4 window
    Ctrl-Alt-U
    Displays the Modules window, which allows you to view the .dll or .exe files loaded by the program. In multiprocess debugging, you can right-click and select Show Modules for all programs
    Ctrl-Alt-G
    Displays the Registers window, which displays CPU register contents
    Ctrl-Alt-N
    Displays the Running Documents window that displays the set of HTML documents that you are in the process of debugging. Available in break and run modes
    Ctrl-Alt-V, T
    Displays the This window, which allows you to view the data members of the object associated with the current method
    Ctrl-Alt-H
    Displays the Threads window to view all of the threads for the current process
    Ctrl-F11
    Displays the disassembly information for the current source file. Available only in break mode
    Ctrl-Alt-W, 1
    Displays the Watch 1 window to view the values of variables or watch expressions
    Ctrl-Alt-W, 2
    Displays the Watch 2 window
    Ctrl-Alt-W, 3
    Displays the Watch 3 window
    Ctrl-Alt-W, 4
    Displays the Watch 4 window


    How To Fix Intellisense Problems With Visual Studio

    November 6th, 2008

    Sometimes the intellisense stops itself in visual studio. Don’t panic. Go to your project directory and delete the *.ncb files. Restart Visual Studio.

    [polldaddy poll=1080967]


    How To Watch Pointer As An Array

    October 10th, 2008

    At times, I had been annoyed that the watch window was not showing the whole contents of a pointer array until I found the trick.

    Put in the watch window

    Starting Address, No of elements to be shown

    Please note that in the screen shot attached, the pointer has not been deleted. This may cause memory leaks. I’m sorry that I saw it only now.