PMDbg:LaunchAppDebug: Difference between revisions

Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x0001....] |- | 1 | TitleID lower word |- | 2 | TitleID upper word |- | 3 | Unkno..."
 
Steveice10 (talk | contribs)
m Steveice10 moved page PMDbg:LaunchTitleDebug to PMDbg:LaunchAppDebug
 
(7 intermediate revisions by 2 users not shown)
Line 6: Line 6:
|-
|-
| 0
| 0
| Header code [0x0001....]
| Header code [0x00010140]
|-
|-
| 1
| 1-4
| TitleID lower word
| [[Filesystem_services#ProgramInfo|Program Info]]
|-
| 2
| TitleID upper word
|-
| 3
| Unknown
|-
| 4
| Unknown
|-
|-
| 5
| 5
| Process launch flags
| Process launch [[PMApp:LaunchTitle#Launch_Flags|flags]] (Internally ORed with 0x1)
|}
|}


Line 42: Line 33:
| Debug handle for the launched process from svcDebugActiveProcess
| 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 [[PMApp:LaunchTitle#Launch_Flags|launch flag 0x8]], this will instead call and return the handle from [[PMDbg:RunQueuedProcess|RunQueuedProcess]].
This returns result code 0xC8A05BF0 if an application is already running.