Available on cpp
ThreadInfo describes the state of a single thread.
ThreadInfo
@:value(1)@:keepstaticinlineread onlySTATUS_RUNNING:Int = 1
@:value(3)@:keepstaticinlineread onlySTATUS_STOPPED_BREAKPOINT:Int = 3
@:value(2)@:keepstaticinlineread onlySTATUS_STOPPED_BREAK_IMMEDIATE:Int = 2
@:value(5)@:keepstaticinlineread onlySTATUS_STOPPED_CRITICAL_ERROR:Int = 5
@:value(4)@:keepstaticinlineread onlySTATUS_STOPPED_UNCAUGHT_EXCEPTION:Int = 4
@:value({ criticalErrorDescription : null, breakpoint : -1 })@:keepnew(number:Int, status:Int, breakpoint:Int = -1, ?criticalErrorDescription:String)
@:keepread onlybreakpoint:Int
If status is "stopped breakpoint", this is the breakpoint number
@:keepread onlycriticalErrorDescription:String
If status is "critical error", this describes the error
@:keepread onlynumber:Int
0 is never a valid thread number
@:keepread onlystack:Array<StackFrame>
Stack will be listed with the lowest frame first
@:keepread onlystatus:Int