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

Summary: Missed program output in Output window
Product: cnd Reporter: Alexander Pepin <apepin>
Component: executionAssignee: Andrew Krasny <akrasny>
Status: RESOLVED FIXED    
Severity: normal Keywords: REGRESSION, TEST
Priority: P2    
Version: 6.x   
Hardware: PC   
OS: All   
Issue Type: DEFECT Exception Reporter:

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