Re: Too many editor tabs?
David Strupl <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.user-interface |
|---|---|
| Message-ID | <[email protected]> |
Ivan Soleimanipour wrote: > I think the boundry between "real/permanent" and "temp" is way > too fuzzy such that creating distinct concepts will add to the confusion. I don't agree. Please note that the debugger team was already considering providing special "debugger view" that would hold the files used only by the debugger. > For example ... to place a breakpoint you have to open a file. Is this > a permanent file or a temporary "debugger" file that gets closed when > the debug run is over? Depends on the debugger - but if you use normal open gesture for opening the file it would end up in the permanent area. > As another example ... the standard _IDE_ model of debugging is such > that there is no debugger or debugging session. You place > bpts at any time and then "Start under debugger". The lifetime of > the debugging "mode" corresponds to the lifetime of the program being run. > > start IDE ------ run for debug ================ done debugging --- done w/ IDE > ^ | > | | > +---------------------------------------------------+ > > Another model is that you decide to debug something (load a program, > or designate a debugge) and then repeatedly run it. Here you > have a bona-fide debug session with which you can associate a cache > and other settings. > > > start IDE ------ load for debug ==== run ====== done debugging --- done w/ IDE > ^ ^ | | > | +---------+ | > +---------------------------------------------------+ > > > Now consider ... if you're going to associate opened files with a debugger. > In the standard IDE model (the first one) everytime your process stops > what's going to happen? you're going to close all "debugger" files? > Only to want to reopen them when you rerun for debugging again? > > So Romans (MArtins?) IZ 35586 talks about "temporary" but temporary with > respect to what? The distinction is quite easy here: if the user opened the file (via open or clicking in the project view) it is opened. If the debugger opened the file (when e.g. stepping) it is temp. I don't think that the debugger should close anything automatically - the user would be responsible for closing the temp area. David