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

DEBUG Intrinsic

MPE documents

Complete PDF
Table of Contents
Index

E0201 Edition 4 ♥
E0300 Edition 3
E0692 Edition 3

Enters Debug. Callable from: NM, CM

Syntax



   DEBUG;

Discussion


The DEBUG intrinsic calls Debug from an interactive program. The intrinsic call acts as a hard-coded breakpoint. Execution of the calling program is halted, and the Debug prompt is displayed.

If the call is made from a batch program, it is ignored.

Refer to the MPE/iX Intrinsics Reference Manual for additional discussion of this intrinsic.

Condition Codes


This intrinsic does not return meaningful condition code values.

Example


The following example is a code fragment from a Pascal program. It declares DEBUG as an intrinsic and then calls it.

   PROCEDURE call_debug;

      procedure debug; intrinsic;

   BEGIN
      debug;
   END;




:SETDUMP Command


HPDEBUG Intrinsic