Debug Manual
Table Of Contents
- What’s New in This Manual
- About This Manual
- 1 Introduction- Execution Modes on TNS/R Systems
- What User Access Is Required for Debugging
- How to Make a Process Enter Debug
- How to Select Debug as the Debugger
- Why a Process Enters Debug
- How to Determine Process State on a Trap or Signal
- Ending a Debug Session
- What Appears in the Debug Header Message
- How to Use Debug
- How Debug Breakpoints Work
 
- 2 Using Debug on TNS/R Processors
- 3 Debug Command Overview
- 4 Debug Commands- Command Summary
- A Command
- AMAP Command
- B Command
- BASE Command
- BM Command
- C Command
- CM Command
- D Command
- DJ Command
- DN Command
- EX[IT] Command
- F[ILES] Command
- FC Command
- FN Command
- FNL Command
- FREEZE Command
- HALT Command
- H[ELP] Command
- I Command
- IH Command (TNS/R Native and OSS Processes)
- INSPECT Command
- LMAP Command
- M Command
- MH Command (TNS/R Native and OSS Processes)
- P[AUSE] Command
- PMAP Command (Accelerated Programs)
- PRV Command
- R Command
- S[TOP] Command
- T Command
- V Command
- VQ Command
- VQA Command
- = Command
- ? Command
 
- A Error Messages
- B ASCII Character Set
- C Command Syntax Summary- Register Syntax
- Expression Syntax
- Address Syntax
- A Command
- AMAP Command
- B Command
- BASE Command
- BM Command
- C Command
- CM Command
- D Command
- DJ Command
- DN Command
- EX[IT] Command
- F[ILES] Command
- FC Command
- FN Command
- FNL Command
- FREEZE Command
- HALT Command
- H[ELP] Command
- I Command
- IH Command
- INSPECT Command
- LMAP Command
- M Command
- MH Command
- Output-Device Syntax
- P[AUSE] Command
- PMAP Command
- PRV Command
- R Command
- S[TOP] Command
- T Command
- V Command
- VQ Command
- VQA Command
- = Command
- ? Command
 
- D Session Boundaries
- E Correspondence Between Debug and Inspect Commands
- F Sample Debug Sessions
- Glossary
- Index

Debug Command Overview
Debug Manual—421921-003
3-2
Breakpoint Commands
Table 3-1. Breakpoint Commands
Command Meaning Function Description
B Break Set unconditional code 
breakpoint
The process enters the debug state 
when the breakpoint location is 
executed.
Set conditional code 
breakpoint
Depending on the value of a specified 
variable, the process enters the debug 
state. The variable is checked when 
the breakpoint location is executed.
Set trace code 
breakpoint
Debug lists the contents of specified 
variables when the breakpoint location 
is executed, then Debug resumes the 
process.
Set execute code 
breakpoint
Debug executes a specified string of 
Debug commands when the 
breakpoint location is executed.
Display breakpoints Debug displays all currently set code 
and memory-access breakpoints for 
the process being debugged.
BM Break on 
memory
Set unconditional 
memory-access 
breakpoint
The process enters the debug state 
when the breakpoint location is 
accessed or modified.
Set conditional 
memory-access 
breakpoint
The process enters the debug state 
depending on the value of a specified 
variable. The variable is checked 
when the breakpoint location is 
accessed or modified. 
Set trace memory-
access breakpoint
Debug lists the contents of specified 
variables when the breakpoint location 
is accessed or modified, then Debug 
resumes the process. 
Set execute memory-
access breakpoint
Debug executes a specified string of 
Debug commands when the 
breakpoint location is accessed or 
modified.
C Clear Clear breakpoint Debug clears one or all code 
breakpoints.
CM Clear 
memory 
breakpoint 
Clear memory-access 
breakpoint
Debug clears the memory-access 
breakpoint for the process being 
debugged.










