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 180788 - Can not debug interactive console applications if Output window is used
Summary: Can not debug interactive console applications if Output window is used
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: execution (show other bugs)
Version: 7.0
Hardware: All All
: P2 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-16 06:55 UTC by Alexander Pepin
Modified: 2010-09-03 03:11 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 Alexander Pepin 2010-02-16 06:55:20 UTC
Steps to reproduce:
- create Quote sample project
- open project properties and set "Output Window" as "Console Type" 
- set line BP in line 123 ("discount = getDiscountFor(customerName);")
- start debugging
Result: Debugger stops at line BP just after start whereas it should wait for user's input ("Enter customer name:"). Variables window shows that customerName is "".
Comment 1 Egor Ushakov 2010-02-17 05:26:02 UTC
debugger has not been changed for months, so I think this should be related with execution changes
Comment 2 Alexander Simon 2010-02-26 02:45:23 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main?cmd=changeset;node=0a4431ce0095
Comment 3 Alexander Pepin 2010-03-23 14:12:35 UTC
Now the problem is only on Windows. It's impossible to enter any text into Output window.
Output window shows:
...
...
Ann has discount 11%
Tom has discount 9%
Enter customer name: ~"[New thread 4752.0x1844]\n"
Comment 4 Egor Ushakov 2010-03-23 16:17:00 UTC
It never worked on Windows, see bug 148204
Comment 5 Alexander Pepin 2010-08-13 10:15:21 UTC
The bug appears once again in 6.10 on all platforms
Comment 6 Alexander Pepin 2010-08-13 10:16:46 UTC
Workaround: user can use External or internal terminal.
Comment 7 Alexander Pepin 2010-08-13 10:20:20 UTC
Escalated to P2 as OutputWindow is a default console type for remote development.
Comment 8 Alexander Simon 2010-09-02 16:14:00 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/132494498476
Comment 9 Quality Engineering 2010-09-03 03:11:15 UTC
Integrated into 'main-golden', will be available in build *201009030000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/132494498476
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed BZ#180788 Can not debug interactive console applications if Output window is used