Wireshark 4.7.3
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)

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.

◆ 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.