W3cubDocs

/Haxe C++

ThreadInfo

package cpp.vm

import cpp.vm.Debugger

Available on cpp

ThreadInfo describes the state of a single thread.

Static variables

staticinlineread onlySTATUS_RUNNING:Int = 1

staticinlineread onlySTATUS_STOPPED_BREAKPOINT:Int = 3

staticinlineread onlySTATUS_STOPPED_BREAK_IMMEDIATE:Int = 2

staticinlineread onlySTATUS_STOPPED_CRITICAL_ERROR:Int = 5

staticinlineread onlySTATUS_STOPPED_UNCAUGHT_EXCEPTION:Int = 4

Constructor

new(number:Int, status:Int, breakpoint:Int = -1, ?criticalErrorDescription:String)

Variables

read onlybreakpoint:Int

If status is "stopped breakpoint", this is the breakpoint number

read onlycriticalErrorDescription:String

If status is "critical error", this describes the error

read onlynumber:Int

0 is never a valid thread number

read onlystack:Array<StackFrame>

Stack will be listed with the lowest frame first

read onlystatus:Int

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/cpp/vm/ThreadInfo.html