Code: |
AS + 708 |
Symbolic: |
bccProcessGetDebugContext |
This command queries the debug context for a remote user process: this is a standard data save sequence.
The structure of REQDATA is as follows:
Offset |
Type |
Label |
Description |
---|---|---|---|
0 |
U8[16] |
- |
(reserved data saving sequence) |
16 |
U16 |
DSID |
Debug session ID (0=Use read-only session if available) |
18 |
U32 |
FLAGS |
Operational flags: 0x1=Interrogate debug file 0x2=Interrogate external type_id |
22 |
U16 |
PID |
Process ID |
24 |
U16 |
DATA_FMT |
Maximum version of the data format managed by the client. |
The structure of ACKDATA is as follows:
Offset |
Type |
Label |
Description |
---|---|---|---|
0 |
U8[16] |
- |
(reserved data saving sequence) |
16 |
U16 |
DATA_FMT
|
Data format version |
If the initial request fails, bccNack is received. Specific errors:
NACK Code |
Message description |
Extra data |
---|---|---|
nackNotFound |
Process not found |
|
nackIllegalDebug |
Illegal debugging session |
|
nackIllegalArgs |
Illegal parameters |
U16 What illegal: 1 = Flags 2 = Data format version |
The structure of INDATA is as follows:
Offset |
Type |
Label |
Description |
---|---|---|---|
0 |
U8[...] |
DATA |