HiDebug_JsStackFrame

typedef struct HiDebug_JsStackFrame {...} HiDebug_JsStackFrame

Overview

Defines a struct for the JS stack frame content.

Since: 20

Related module: HiDebug

Header file: hidebug_type.h

Summary

Member Variables

Name Description
uint64_t relativePc Relative PC address, which is the offset of the current PC relative to the start address of its mapping area (such as an executable file or shared library).
int32_t line Line number of the code corresponding to the current stack frame in the file.
int32_t column Column number of the code corresponding to the current stack frame in the specified line.
const char* mapName Name of the mapping area to which the current stack frame belongs.
const char* functionName Name of the function corresponding to the current stack frame.
const char* url URL of the code file corresponding to the current stack frame. It can be used to find the corresponding code file in the local path or on the remote server.
const char* packageName Name of the package to which the code corresponding to the current stack frame belongs.