Debugging with DDT
Lars Brinkhoff edited this page Jul 15, 2023
·
2 revisions
Notes where exec DDT differs from timesharing DDT.
Command | Timesharing DDT | Exec DDT |
---|---|---|
file^K | Start program without symbols loaded | N/A |
file$^K | Start program with symbols loaded | N/A |
^Z | Suspend program | N/A |
$P | Continue | |
$^K | Load symbols | N/A |
name$J | Create job named name | N/A |
$Lfile | Load file into current job, including symbols | N/A |
$^X. | Kill current job | N/A |
$G | Run program from start | |
$0G | Set PC to starting address; do not start | N/A |
n$B | Set breakpoint at n | |
$B | Remove breakpoint at current location | Remove all breakpoints |
$nB | Address to breakpoint n information | Also removes breapoint n |
.$B | Set breakpoint at current location | |
. | Current location | |
$. | Current value of PC | |
$Q | Last printed quantity | |
n/ | Open location n symbolically (show instructions and symbols) | |
/ | Open $Q | |
^J | Open next location | |
^ | Open previous location | |
n[ | Open location n numerically | |
= | Print $Q numerically | |
_ | Print $Q as a symbol | |
' | Print $Q as six SIXBIT characters | |
" | Print $Q as five ASCII characters | |
# | Print $Q as one ASCII character | N/A |
^N | Single step | KS10 only |
$^N | Stop at next instruction (skip over calls) | Not on KS10 |