NullTerminator wrote: > How do you get the current thread id either using DDBG or (preferably) gdb? use the lt command in ddbg, the current thread is marked in the list. since you're in the command line of the debugger, there must have been a breakpoint or exception, the message for which contained the thread id as well.