HPlogo System Debug Reference Manual > Chapter 3 System Debug Interface Commands and Intrinsics

Chapter 3 System Debug Interface Commands and Intrinsics

MPE documents

Complete PDF
Table of Contents
Index

E0201 Edition 4 ♥
E0300 Edition 3
E0692 Edition 3

Table of Contents
Debug Interfaces
Direct Calls
Process Abort Calls
Debug Command and Intrinsic Descriptions
:DEBUG Command
Syntax
Parameters
Discussion
Example
:RESETDUMP Command
Syntax
Discussion
Example
:SETDUMP Command
Syntax
Parameters
Discussion
Examples
DEBUG Intrinsic
Syntax
Discussion
Condition Codes
Example
HPDEBUG Intrinsic
Syntax
Parameters
Discussion
Condition Codes
Example
HPRESETDUMP Intrinsic
Syntax
Parameters
Discussion
Condition Codes
Example
HPSETDUMP Intrinsic
Syntax
Parameters
Discussion
Condition Codes
Example
RESETDUMP Intrinsic
Syntax
Discussion
Condition Codes
Example
SETDUMP Intrinsic
Syntax
Parameters
Discussion
Condition Codes
Examples
STACKDUMP Intrinsic
Syntax
Parameters
Discussion
Condition Codes
Examples
STACKDUMP' Intrinsic
Syntax
Parameters
Discussion
Condition Codes
Example
Debug may be invoked directly through an integrated set of commands and intrinsics. All MPE V intrinsics are supported. In addition, several new intrinsics have been added to enhance the functionality of MPE/iX and take advantage of the new debugger. The commands and intrinsics allow you to enter the debugger from three different paths:
  • Directly from a command interpreter (CI) command in a session.

  • From a program through an intrinsic call.

  • From the system during an abnormal process termination (a process abort).

Many of the commands and intrinsics that make up the system debugger interface also allow you to specify an optional character string containing Debug commands . If supplied, this string is passed to Debug for execution as part of debugger initialization.

The MPE/iX commands and intrinsics allow you to do the following:
  • Enter Debug from a program or in a session directly from the CI.

  • Generate stack trace upon demand from within a program.

  • Execute a defined series of Debug commands from a session, job, or program.

  • Arm a call to Debug to take place during the process abort sequence.

  • Disarm the call to Debug during the process abort sequence.

The Debug commands and intrinsics are described in the following sections. For additional information, refer to the MPE/iX Commands Reference Manual and the MPE/iX Intrinsics Reference Manual.




Automatic DBUGINIT Files


Debug Interfaces