Shows the smaller "popout" window. Default location is the upper right corner of your screen :param location: Locations (x,y) on the screen to place upper left corner of the window :type location: (int, int) :return: None :rtype: None
(location=(None, None), *args)
| 24198 | |
| 24199 | |
| 24200 | def show_debugger_popout_window(location=(None, None), *args): |
| 24201 | """ |
| 24202 | Shows the smaller "popout" window. Default location is the upper right corner of your screen |
| 24203 | |
| 24204 | :param location: Locations (x,y) on the screen to place upper left corner of the window |
| 24205 | :type location: (int, int) |
| 24206 | :return: None |
| 24207 | :rtype: None |
| 24208 | """ |
| 24209 | if _Debugger.debugger is None: |
| 24210 | _Debugger.debugger = _Debugger() |
| 24211 | debugger = _Debugger.debugger |
| 24212 | frame = inspect.currentframe() |
| 24213 | prev_frame = inspect.currentframe().f_back |
| 24214 | # frame = inspect.getframeinfo(prev_frame) |
| 24215 | # frame, *others = inspect.stack()[1] |
| 24216 | try: |
| 24217 | debugger.locals = frame.f_back.f_locals |
| 24218 | debugger.globals = frame.f_back.f_globals |
| 24219 | finally: |
| 24220 | del frame |
| 24221 | if debugger.popout_window: |
| 24222 | debugger.popout_window.Close() |
| 24223 | debugger.popout_window = None |
| 24224 | debugger._build_floating_window(location=location) |
| 24225 | |
| 24226 | |
| 24227 | def _refresh_debugger(): |
no test coverage detected