DataBasic Reference > The Debugger > Summary of Debugger Commands > ?P

Comment on this topic

Documentation Comments

Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.

RealityV15.1Online Documentation (MoTW) Revision 7

?P command (DataBasic debugger) (M618706+queryp.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

?P

Displays the name of the program that is currently executing.

Syntax

?P

Options

AReturns current account name.

SReturns source filename and item ID.

EReturns emulation.

Operation

A long programming routine might consist of many CALLs to external subroutines as well as branches to numerous programs. In such cases, the line number is not sufficient to identify the point at which you entered the debugger. The ?P command identifies the program currently running.

If the table files have been created, the ?P command also displays the symbol table, primary source code, and alternate source code file names and item names.

Example

*?P TEST3

Displays the name of the DataBasic program you are currently running (in this case, TEST3).

RealityV15.1 (MoTW) Revision 7Comment on this topic