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


Ignore:
Timestamp:
Nov 17, 2010 9:57:13 AM (10 years ago)
Author:
Adam Roben
Comment:

Add instructions for inspecting WebKit2 API types

Legend:

Unmodified
Added
Removed
Modified
  • Debugging With Visual Studio

    v4 v5  
    2323
    2424Visual Studio will always pauses all processes (i.e., you can't pause just one process). Similarly, Visual Studio will always step all processes when using the Step In/Over/Out commands.
     25
     26= Inspecting WebKit2 API types =
     27
     28You can inspect WebKit2 API types in Visual Studio by casting them to their underlying WebKit2 implementation type. For example, say you have a `WKMutableDictionaryRef` that points to address `0x12345678` and want to see what it contains. You can view its contents using the following watch expression (in either the Watch Window or Quick Watch Window):
     29
     30{{{
     31{,,WebKit.dll}(WebKit::MutableDictionary*)0x12345678
     32}}}
     33
     34The same technique will work for other WebKit2 API types as long as you substitute the appropriate type for `MutableDictionary` above.