Windows Runtime Internals: Understanding Hello World

Windows Runtime Internals: Understanding Hello World

<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>

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    3 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us