hpi-swa / vivide

A Squeak/Smalltalk-based programming environment and framework that supports low-effort construction of graphical tools by employing a data-driven perspective and a script-based programming model.
MIT License
58 stars 9 forks source link

Utilities closeAllDebuggers not working #41

Open codeZeilen opened 9 years ago

codeZeilen commented 9 years ago

Using the famous marko image Utilties>>closeAllDebuggers does not close any debuggers. This becomes problematic when having 100+ debuggers ;)

Edit: 'Close all Vivide Windows' is kind of an option, but I'd also lose my arranged editors, so a separate Close all debuggers would be nice.

marceltaeumel commented 8 years ago

I guess you are referring to Vivide debuggers? Here is a snippet that would close all Vivide debuggers:

1) All windows that run the #debugger script:

ViSinglePaneEditor allInstancesDo: [:editor |
   editor pane currentQuery id = #debugger ifTrue: [editor close]].

See VivideLight >> #openDebugger: and senders of #useVivideDebugger for more information.

2) All windows that show the (outdated, old, deprecated) ViDebuggerEditor thingy:

ViDebuggerEditor allInstancesDo: [:editor | editor close].

Does this help? Do we need a button for that? :smile: