www.digitalmars.com         C & C++   DMDScript  
Archives

D Programming
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.ide
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger
D.gnu
D

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript
electronics



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