This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 39934 - Debugger output tabs should be reused
Summary: Debugger output tabs should be reused
Status: CLOSED DUPLICATE of bug 34828
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@debugger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-10 23:17 UTC by krheinwald
Modified: 2010-04-29 09:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description krheinwald 2004-02-10 23:17:53 UTC
Every time I go through a compile cycle, a new 
set of output tabs gets created, e.g. 'Compile (, 
Debugger console), 'Process Output. This soon 
leads to a cluttered output window. 

Output tabs should get reused.
Comment 1 _ tboudreau 2004-02-11 01:12:30 UTC
This works for me - if you're seeing "process output" it sounds like you're not just 
compiling, but executing something.  Are you sure the process you executed has really 
stopped?  They should be reused if the last process that used those tabs has ended.  If the 
process hasn't, then the tabs will stay open.   You can find out if processes are still 
running in the Execution window.

Note that if your program is a JFrame, just closing the JFrame does not necessarily end the 
process, unless its closeOperation is set to EXIT_ON_CLOSE.  NetBeans form editor will 
generate a window listener that calls System.exit() when you close it.  Otherwise the JVM 
will sit there forever doing nothing until either it is explicitly killed (you can right click 
items in the Execution window to do that), or its parent process exits.
Comment 2 krheinwald 2004-02-11 07:51:26 UTC
Could it be possible NB does not catch an application being aborted 
in the debugger?

I will check later today whether this only happens when you abort the 
app in the debugger by presing the small red sqaure or also when 
performing System.exit().
Comment 3 krheinwald 2004-02-11 08:01:37 UTC
Just found this on nbusers:

Betreff:      Re: 3.6 beta RFE: Closing windows automatically  
Absender:    David Kafrissen <dkafrissen@yahoo.com> 
Empfänger:    nbusers@netbeans.org 
Datum:    10.02.04 22:57     

In my environment I get a new set of windows every time I debug. 
Can't it reuse the same set?
Everytime I get a new compile, output etc window.
 
Comment 4 _ tboudreau 2004-02-11 08:27:41 UTC
This is a duplicate of another issue - it was already reported - but I'm having trouble 
locating the issue.
Comment 5 _ tboudreau 2004-02-11 08:35:36 UTC
Passing to debugger - this works for exection, probably not a problem in winsys.
Comment 6 Maros Sandor 2004-02-11 09:32:10 UTC

*** This issue has been marked as a duplicate of 34828 ***
Comment 7 Quality Engineering 2010-04-29 09:16:24 UTC
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.