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 181750 - Missed program output in Output window
Summary: Missed program output in Output window
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: execution (show other bugs)
Version: 6.x
Hardware: PC All
: P2 normal (vote)
Assignee: Andrew Krasny
URL:
Keywords: REGRESSION, TEST
Depends on:
Blocks:
 
Reported: 2010-03-10 05:14 UTC by Alexander Pepin
Modified: 2010-03-10 09:17 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-03-10 05:14:59 UTC
Steps to reproduce:
- create Quote sample
- set 'Output Window' as 'Console Type'
- run the project
Result: "Enter customer name:" prompt does not appear in Output window. It will appear if a user add "<<endl" to the output operator in the source code. So it looks like a problem with flushing of the output stream.
Comment 1 Alexander Pepin 2010-03-10 07:04:21 UTC
To reproduce the bug the profiler should be off.
Comment 2 Andrew Krasny 2010-03-10 09:15:23 UTC
Evaluation:

The problem is not with the execution, but with the configuration of ExtExecutionService (specifically it's outLineBased(boolean)) in DefaultProjectActionHandler. outLineBased should be set to false in case when unbuffer is used.
Comment 3 Andrew Krasny 2010-03-10 09:17:59 UTC
Fixed: http://hg.netbeans.org/cnd-main/rev/924ec3c6705d