First time here? Check out the FAQ!
1

Auto-close debugged, external files
 

One big annoyance I have with Wing - which I otherwise love using - is that when I enter the debugger due to an assert in 3rd party code, after debugging and stopping execution, all those 3rd party files remain open in the editor. I'd like to have them auto-close and return me back to where I was unless I set a breakpoint in one.

Is there a way to force this behavior or could this be a feature request?

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
massung's avatar
41
massung
asked 2 years ago
Wingware Support's avatar
4.3k
Wingware Support
updated 2 years ago

Comments

see more comments

1 Answer

0

One possible solution is to Enable Auto-Perspectives from the Tools menu and then go into Manage Perspectives (also from the Tools menu) and for the edit and debug perspectives set the Style to tools-and-editors (by clicking on their value in the Style column, then clicking again to select from a popup). This automatically changes tools and editors visible when debugging or not debugging.

Another solution is to use the File > File Sets menu to create a named set of the files before debugging and then restore that after debugging ends, also from that menu.

Sometimes useful also is the Open Files tool in the Tools menu, for relatively quickly selecting files to close.

None of these is exactly what you're asking, but perhaps will help. An idea would be to add a way to auto-close all files not in the Project tool in Wing after debugging, and this would also be an idea for improving the Open Files tool.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Wingware Support's avatar
4.3k
Wingware Support
answered 2 years ago, updated 2 years ago
link

Comments

see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)