To start dbx, you can just type dbx without arguments
–the essential commands
–critical but rarely used commands
attach your_pid # just a single argument
thread t@8 # select thread “t@8”
–most frequent commands
# cont — (or “c”) command to resume program execution. Currently,
threads use synchronous breakpoints, so all threads resume execution.
# status # shows all breakpoints. You need this after a lot of “cont”
# dump — in suspension mode, shows a lot of variables at that point in
list # src
–if your c-string is too long to 'print',
print longStr+788 # will print from that position to the \0
–(18) What are the major MT features of dbx?
The `threads' command will give a list of all known threads, with
their current state, base functions, current functions etc.
You can examine stack traces of each thread.
You can resume (`cont') all threads.
You can `step' or `next' a specific thread.
The `thread' command helps navigating between threads.