Here there are some WinRTDebug examples:
- Debugging the activation using cdb debugger:
WinRTDebug -d MyApp_1.0.0.0_neutral_neutral_123456 "C:\Program Files (x86)\Windows Kits\8.0\Debuggers\x64\cdb.exe"
- Stop debugging (reverse of the -d option)
WinRTDebug -u MyApp_1.0.0.0_neutral_neutral_123456
- Suspend package (look at the task manager):
WinRTDebug -s MyApp_1.0.0.0_neutral_neutral_123456
- Resume package (look at the task manager):
WinRTDebug -r MyApp_1.0.0.0_neutral_neutral_123456
- Terminate package (look at the task manager):
WinRTDebug -t MyApp_1.0.0.0_neutral_neutral_123456
- List all of the packages installed on the machine:
WinRTDebug –v
New in 1.1: Package names can be aliased with $index where index is a number obtained with command –v
Every command can substitute the package name with $index
index is a 0-based index. For example $1 is the second package listed with –v
- Resume the second package of the list obtained with command –v
WinRTDebug r $1
- Suspend the first package
WinRTDebug s $0
- Terminate the third package
WinRTDebug t $2
- Debug the first package
WinRTDebug –d $0 "C:\Program Files (x86)\Windows Kits\8.0\Debuggers\x64\cdb.exe"
- Stop debugging the first package
WinRTDebug –u $0