Changes between Version 3 and Version 4 of Debugging With Visual Studio


Ignore:
Timestamp:
Aug 5, 2010 9:23:24 AM (9 years ago)
Author:
Adam Roben
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Debugging With Visual Studio

    v3 v4  
    99Adding `$err,hr` to the Watch Window will show you what `::GetLastError()` would return at this moment, and will show you both the numerical error value and the error string associated with it.
    1010
    11 = Immediate Window =
    12 You can open the Immediate window using `Debug > Windows > Immediate` or `Ctrl+Alt+I`.
    13 
    14 When debugging code that uses CF types, you can invoke the `CFShow` function in the Immediate window to print a debug description of a CF object to the Output Window like so:
     11= Calling CFShow =
     12When debugging code that uses CF types, you can invoke the [http://developer.apple.com/mac/library/documentation/CoreFoundation/Reference/CFTypeRef/Reference/reference.html#//apple_ref/c/func/CFShow CFShow] function in the Immediate window (`Debug > Windows > Immediate` or `Ctrl+Alt+I`) to print a debug description of a CF object to the Output window like so:
    1513{{{
    1614{,,CoreFoundation.dll}_CFShow(0x12345678)