ppsspp_get_pc
Read the current Program Counter from the PPSSPP emulator to identify the exact execution point during debugging. Temporarily pauses the CPU for consistent reads and resumes automatically.
Instructions
PURPOSE: Safely read the current Program Counter.
USAGE: session_id optional when exactly one session is active.
BEHAVIOR: READ-ONLY. Pauses CPU temporarily for read consistency, then resumes. trust_level='high'.
RETURNS: {pc, trust_level}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | No | Active session ID; omit to auto-resolve when exactly one session is active. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pc | Yes | Program counter value, hex string (e.g. '0x08804000'). | |
| trust_level | Yes | Trust annotation. Lowercase enum value: 'high' (stepping-verified) / 'medium' / 'low'. |