www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.debugger - ThreadId

reply NullTerminator <NullTerminator Hotmail.com> writes:
How do you get the current thread id either using DDBG or (preferably) gdb?
Dec 06 2007
parent Jascha Wetzel <firstname mainia.de> writes:
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.
Dec 06 2007