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 249112 - Input doesn't work in "Standard Output" mode (gdb debugger)
Summary: Input doesn't work in "Standard Output" mode (gdb debugger)
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 8.1
Hardware: PC Solaris
: P2 normal (vote)
Assignee: Maria Tishkova
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-04 15:15 UTC by soldatov
Modified: 2015-02-25 10:28 UTC (History)
1 user (show)

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 soldatov 2014-12-04 15:15:52 UTC
Scenario:
- Create Quote
- Set Run|Console Type = Standard Output
- Push "Debug Project" button
==> I can't type any name in Output tab
Comment 1 Maria Tishkova 2014-12-25 15:29:05 UTC
Here is where the problem is 

in cnd-main repository the regression occurred between 


changeset:   280078:29b881176e1d - works
parent:      280077:ca0d4b6c78dd
parent:      279180:ee8ae5c11ae4
user:        ffjre@netbeans.org
date:        Fri Oct 17 12:43:44 2014 +0000
summary:     Automated merge with main-silver

changeset:   280082:f975c2fa3b32 - doesn't work
user:        Jaroslav Tulach <jtulach@netbeans.org>
date:        Mon Oct 20 09:58:54 2014 +0200
summary:     Removing changest into api.html4j during server_split merge, they are unrelated and probably result of 'hg copy' from another apichanges.xml document


some changes in org.netbeans.core.output2.NbIO broke the possibility to reuse IO for input if the flag inputClosed in NbIO was set to true and that was the reason user could not input anything as NbIO thought the input is closed already

Suggested fix: to use separate tab Debug actions(debug, step into. debug test, test step into)
Comment 2 Maria Tishkova 2014-12-25 15:48:27 UTC
changeset:   282387:d840031132c7
tag:         tip
user:        Maria Dalmatova <mromashova@netbeans.org>
date:        Thu Dec 25 18:43:56 2014 +0400
summary:     fixed bz#249112  Input doesn't work in "Standard Output" mode (gdb debugger)
Comment 3 Quality Engineering 2014-12-30 04:05:10 UTC
Integrated into 'main-silver', will be available in build *201412300001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/d840031132c7
User: Maria Dalmatova <mromashova@netbeans.org>
Log: fixed bz#249112  Input doesn't work in "Standard Output" mode (gdb debugger)
Comment 4 soldatov 2015-02-24 09:52:41 UTC
verified in trunk

>System Info: 
  Product Version         = NetBeans IDE Dev (Build 201502240532) (#d6aa48dbbbfb)
Comment 5 soldatov 2015-02-25 10:28:12 UTC
verified in NetBeans IDE 8.0.2 (Build 201502242207)