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 Commands
Debug Manual—421921-003
4-72
VQ Command
Considerations
•
You can specify V only if you are debugging in privileged mode.
•
If you use the V command to switch Debug’s view to another process, you cannot
then enter Inspect commands for that process; an attempt to do so produces an
error message.
Example
This example makes Debug’s current view the state of PIN 23 in processor 2 and then
sets a breakpoint in the process:
245,02,00033-V #23
245,02,00033-B 0x7000DE88
VQ Command
The VQ command changes the segment ID for the current selectable data segment (as
viewed by Debug). The form of the VQ command is:
expression-16
is the segment ID of the segment that is to be the current selectable data segment
(Q segment). If you omit expression-16, the current segment ID reverts to the
one in use when the process entered Debug.
Considerations
•
The VQ command affects only the current segment ID as viewed during
debugging. It does not change the current segment ID seen by the program itself.
The segment ID seen by the program is the result of a previous call to either the
USESEGMENT or SEGMENT_USE_ procedure.
•
If the specified segment ID is not allocated, an error occurs.
Example
106,01,00012-VQ 2
VQ [ expression-16 ]