Function chakracore_sys::JsDiagGetStackTrace [] [src]

pub unsafe extern "system" fn JsDiagGetStackTrace(
    stackTrace: *mut JsValueRef
) -> JsErrorCode

Gets the stack trace information. Stack trace information. [{ "index" : 0, "scriptId" : 2, "line" : 3, "column" : 0, "sourceLength" : 9, "sourceText" : "var x = 1", "functionHandle" : 1 }] The code JsNoError if the operation succeeded, a failure code otherwise. The current runtime should be in debug state. This API can only be called when runtime is at a break.