| 25 | |
| 26 | = Inspecting WebKit2 API types = |
| 27 | |
| 28 | You 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 | |
| 34 | The same technique will work for other WebKit2 API types as long as you substitute the appropriate type for `MutableDictionary` above. |