Wireshark 5.1.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
lua_debugger.h File Reference

Go to the source code of this file.

Functions

void LuaDebugger::open (QWidget *parent)
bool LuaDebugger::tryDeferMainWindowClose (QCloseEvent *event)
void LuaDebugger::setSuppressedByPreferences (bool suppressed)

Detailed Description

Public entry points for the Lua debugger UI. The only header consumed outside the lua_debugger module.

Function Documentation

◆ open()

void LuaDebugger::open ( QWidget * parent)

Open (creating on first call) the Lua debugger dialog and bring it to the front.

◆ setSuppressedByPreferences()

void LuaDebugger::setSuppressedByPreferences ( bool suppressed)

Force the debugger off while the Preferences dialog is open, the same way as during a live capture, and restore the user's choice when it closes.

Parameters
suppressedtrue when the dialog opens, false when it closes.

◆ tryDeferMainWindowClose()

bool LuaDebugger::tryDeferMainWindowClose ( QCloseEvent * event)

If the debugger is paused or owns unsaved scripts, defer the supplied main-window close event so the Lua C stack can unwind first.

Returns
true when the close was deferred (caller should return without further teardown), false to let the main window proceed normally.