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 43154 - Debugger output is not accessible
Summary: Debugger output is not accessible
Status: VERIFIED WONTFIX
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@debugger
URL:
Keywords: API
Depends on:
Blocks:
 
Reported: 2004-05-12 14:13 UTC by Martin Grebac
Modified: 2006-08-30 20:16 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Grebac 2004-05-12 14:13:49 UTC
If I have a breakpoint that is not an instance of
 JPDABreakpoint (like jsp bp), I have no way to
print some text to the debugger output. It would
be good to have some way of lookup for the output
or something similar.
Comment 1 Martin Entlicher 2005-12-12 16:30:32 UTC
There is the org.netbeans.modules.debugger.jpda.ui.IOManager class, which knows
how to print into the console.

The instance of IOManager is retrieved in
org.netbeans.modules.debugger.jpda.ui.BreakpointOutput.lookupIOManager().

However, this is not API, therefore it's inaccessible for other modules. The
IOManager would have to be added into JPDA APIs...
Comment 2 Martin Entlicher 2006-08-23 11:36:32 UTC
Is this enhancement still necessary? It's there for more than two years...
I'd close it as wontfix if you do not need it any more...
Comment 3 Martin Grebac 2006-08-23 13:33:07 UTC
I don't know, I don't work on JSPdbg for a long time and hardly remember why I
filed it ;O) Maybe Libor should know, he's the most fresh guy on JSPdbg. If it's
just me, I think I filed it once there was no possibility to print out some
JSP-related text to console when the JSP breakpoint is reached (like the JSP
line number instead of class line number), but I think with the JSR45 I think
this is no longer needed, even though I didn't check how it works now.
Comment 4 Libor Kotouc 2006-08-23 16:06:14 UTC
At least the line numbers are written into the debugger console when a JSP
breakpoint is hit. Of course with correct JSP numbering. JPDA debugger is
printing the information, I guess it uses the stratum information saved in the
breakpoint.

Personally, I don't have any other printing requests at this time.
Comment 5 Martin Entlicher 2006-08-29 18:34:01 UTC
O.K. Thanks. Resolving as wontfix. Reopen when you will need this.
Comment 6 Jiri Kovalsky 2006-08-30 20:16:36 UTC
Okay, verifying then.