Difference between revisions of "PMDbg:LaunchAppDebug"

From 3dbrew
Jump to navigation Jump to search
m (Add description and note about queued processes.)
m (Link to FS common program info.)
Line 9: Line 9:
 
|-
 
|-
 
| 1-4
 
| 1-4
| [[FSReg:LoadProgram#ProgramInfo|ProgramInfo struct]]
+
| [[Filesystem_services#ProgramInfo|Program Info]]
 
|-
 
|-
 
| 5
 
| 5

Revision as of 23:54, 17 October 2015

Request

Index Word Description
0 Header code [0x00010140]
1-4 Program Info
5 Process launch flags (Internally ORed with 0x1)

Response

Index Word Description
0 Header code
1 Result code
2 N/A
3 Debug handle for the launched process from svcDebugActiveProcess

Description

This launches a title and opens a debug handle to its process. If a process is currently queued from launch flag 0x8, this will instead call and return the handle from RunQueuedProcess.