<p> WRTPackageDebug v.1.0</p><p>By Giovanni Dicanio <[email protected]></p><p> http://msmvps.com/blogs/gdicanio/</p><p>2011, October 28th</p><p>Command line app to simulate the debug tool used by Matt Merry in his very interesting WinRT BUILD session:</p><p>"Windows Runtime internals: understanding "Hello World"</p><p>This app is entirely written in native C++11, using exceptions, STL and Win32 Platform SDK (no additional libraries - like ATL - are used).</p><p>It is almost a command line wrapper around the COM interface IPackageDebugSettings.</p><p>IDE: Microsoft Visual Studio 11 Developer Preview</p><p>OS: Windows 8 Developer Preview</p><p>Call the app .exe without any command line option to get a complete help.</p><p>The following table shows the mapping between IPackageDebugSettings COM interface methods and command line options:</p><p>IPackageDebugSettings Method Option Option Shortcut</p><p>EnableDebugging /EnableDebug /e DisableDebugging /DisableDebug /d Suspend /Suspend /s Resume /Resume /r TerminateAllProcesses /Terminate /t SetTargetSessionId /SetSessionId /i</p><p>WRTPackageDebug v1.0 – by G. Dicanio Pag. 1 The /ListPackages (/l) option can be used to get a list of available WinRT packages; each package can be conveniently identified by its list number instead of full name:</p><p>To enable debug mode for the processes of a specified package, the /EnableDebug (/e) option can be used:</p><p>WRTPackageDebug v1.0 – by G. Dicanio Pag. 2 The processes of the package can be suspended with the /Suspend (/s) option:</p><p>To disable debug mode for the processes of the specified package, the /DisableDebug (/d) option can be used:</p><p>WRTPackageDebug v1.0 – by G. Dicanio Pag. 3</p>
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages3 Page
-
File Size-