cmdDBG_STACKIndex

Command Code:

Host-to-Stem Packet:

Reply Packet:

Description:

This command retrieves bytes from a VM stack.  A process ID that is out of range will generate an error message.  A process ID for an inactive process or an active process that is not in debug mode will generate an error message.

The reply packet is cmdDBG_STACK then the process ID followed by the desired stack byte(s) or a checksum byte.

The STKMODE byte determines the stack access method.  When this byte is 0, the offset is one-based and relative from the top of the stack.  When this byte is 1, the offset is zero-based and absolute from bottom of the stack.  When this byte is 2, the offset bytes and count byte are ignored and the reply contains a checksum byte for the current stack instead of stack data.


version: 1.0, build 80903
© Copyright 1994-2008 Acroname, Inc., Boulder, Colorado.  All rights reserved.