Skip to content

Commit

Permalink
Merge pull request #29 from spyoungtech/gh-27
Browse files Browse the repository at this point in the history
Gh 27 fix nuitka cross compilation
  • Loading branch information
spyoungtech authored Jul 25, 2024
2 parents 58b987b + 9a57539 commit 0389dbe
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions FreeSimpleGUI/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14207,18 +14207,21 @@ def _refresh_debugger():
# frame = inspect.currentframe()
# frame = inspect.currentframe().f_back

frame, *others = inspect.stack()[1]
try:
debugger.locals = frame.f_back.f_locals
debugger.globals = frame.f_back.f_globals
finally:
del frame
if debugger.popout_window:
rc = debugger._refresh_floating_window()
if debugger.watcher_window:
rc = debugger._refresh_main_debugger_window(debugger.locals, debugger.globals)
Window._read_call_from_debugger = False
return rc
frame, *others = inspect.stack()[1]
try:
debugger.locals = frame.f_back.f_locals
debugger.globals = frame.f_back.f_globals
finally:
del frame
if debugger.popout_window:
rc = debugger._refresh_floating_window()
if debugger.watcher_window:
rc = debugger._refresh_main_debugger_window(debugger.locals, debugger.globals)
Window._read_call_from_debugger = False
return rc
except:
return None


def _debugger_window_is_open():
Expand Down

0 comments on commit 0389dbe

Please sign in to comment.