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 3341

Summary: Debugger`s output window does not distinguish between "print()" and "println()".
Product: debugger Reporter: Marian Petras <mpetras>
Component: CodeAssignee: Marian Petras <mpetras>
Status: CLOSED FIXED    
Severity: normal    
Priority: P4    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Marian Petras 1999-08-13 01:02:48 UTC
The output of commands print() and println() is the same in the debugger. For demostration, check the following program.

The correct output is

    Start...
    zzzzzz
    ...finished

but the real output is

    Start...
    zz
    zz
    zz

    ...finished

----------------------

  public static void main (String args[]) {
    System.out.println("Start...");
    for (int i=1; i<=3; i++) {
      System.out.print("zz");
    }
    System.out.println("...finished");
  }

[Hanz] In standart debugger only.
Comment 1 Marek Grummich 2000-07-25 09:33:59 UTC
Priority is changed to P4 (normal).
Comment 2 Quality Engineering 2003-07-02 16:01:52 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.