Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix clear-screen timing when showing context (#1026)
According to doc, when enabled, before showing the debugging context, screen will be cleaned. ``` Clear the screen before showing the context sections when breaking: gef➤ gef config context.clear_screen 1 ``` This is helpful to keep the debug experience focused, but the timing seems to be broken with the current code. Currently, clearing screen will happen after all contexts are shown. Hence, whenever a breakpoint is hit, all contexts will be off the screen leaving only the input prompt as screenshot shows below.
- Loading branch information