Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Public Attributes | List of all members
wslua_debugger_t Struct Reference

Public Attributes

wslua_debugger_state_t state
 
bool enabled
 
wslua_debugger_ui_update_cb_t ui_update_callback
 
lua_State * L
 
lua_State * paused_L
 
GMutex mutex
 
bool mutex_initialized
 
wslua_breakpoint_t temporary_breakpoint
 
wslua_step_kind_t step_kind
 
int step_stack_depth
 
int32_t variable_stack_level
 
bool was_enabled_before_reload
 
bool reload_in_progress
 
bool user_explicitly_disabled
 
bool error_break_enabled
 
char * last_error_text
 
int64_t last_error_line
 
char * last_error_file
 
bool error_break_occurred
 
bool explicit_error_break_recent
 
wslua_stack_frame_truntime_error_stack
 
int32_t runtime_error_stack_count
 
wslua_runtime_error_frame_snapshot_truntime_error_frame_snapshots
 
lua_State * runtime_error_stack_L
 
bool runtime_error_pause_active
 
int original_error_ref
 
int original_assert_ref
 

Member Data Documentation

◆ error_break_enabled

bool wslua_debugger_t::error_break_enabled

User toggle for break-on-error

◆ error_break_occurred

bool wslua_debugger_t::error_break_occurred

Flag set when an error break fired (any error type)

◆ explicit_error_break_recent

bool wslua_debugger_t::explicit_error_break_recent

One-shot marker set by error()/assert() wrapper pauses

◆ last_error_file

char* wslua_debugger_t::last_error_file

File path where error occurred

◆ last_error_line

int64_t wslua_debugger_t::last_error_line

Line number where error occurred

◆ last_error_text

char* wslua_debugger_t::last_error_text

Error message from last caught error

◆ original_assert_ref

int wslua_debugger_t::original_assert_ref

LUA_REGISTRYINDEX ref to original assert() function

◆ original_error_ref

int wslua_debugger_t::original_error_ref

LUA_REGISTRYINDEX ref to original error() function

◆ runtime_error_frame_snapshots

wslua_runtime_error_frame_snapshot_t* wslua_debugger_t::runtime_error_frame_snapshots

Captured pre-unwind Locals/Upvalues per frame

◆ runtime_error_pause_active

bool wslua_debugger_t::runtime_error_pause_active

True while a deferred runtime-error pause is active

◆ runtime_error_stack

wslua_stack_frame_t* wslua_debugger_t::runtime_error_stack

Captured pre-unwind stack

◆ runtime_error_stack_count

int32_t wslua_debugger_t::runtime_error_stack_count

Number of captured stack frames

◆ runtime_error_stack_L

lua_State* wslua_debugger_t::runtime_error_stack_L

Lua state used when snapshot was taken

◆ step_stack_depth

int wslua_debugger_t::step_stack_depth

Frame count captured when OVER/OUT begins

◆ variable_stack_level

int32_t wslua_debugger_t::variable_stack_level

lua_getstack index for Locals/Upvalues


The documentation for this struct was generated from the following file: