Bug 89743 - [polish] [Console] Process Console not opened if output is not captured anywhere
Summary: [polish] [Console] Process Console not opened if output is not captured anywhere
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows 2000
: P4 trivial (vote)
Target Milestone: 3.1 M7   Edit
Assignee: Darin Wright CLA
QA Contact:
URL:
Whiteboard:
Keywords: polish
Depends on:
Blocks:
 
Reported: 2005-03-30 18:57 EST by Samantha Chan CLA
Modified: 2005-04-22 09:34 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Samantha Chan CLA 2005-03-30 18:57:36 EST
Snippet from Testcase:

       System.out.println("Enter something.");
       try {
        int a;
        String str = new String();
        a = System.in.read();
        str += (char)a;
        System.out.println(str);
    } catch (IOException e) {
        e.printStackTrace();
    }


In the launch config common tab, turn off "Capture Output" for both Console and 
File. (i.e. the output is not captured anywhere.)

Run the debug session.  The Process Console is not opened.  As a result, I 
cannot enter any input to my testcase to finish running my testcase.
Comment 1 Darin Wright CLA 2005-03-31 09:08:42 EST
This is working as expected. Unless you use a console, there will be no way to 
give input to an application. I think we should re-name the setting on the 
console tab to read slightly differently - perhaps something like "Standard 
I/O" to indicate that it effect input as well.
Comment 2 Kevin Barnes CLA 2005-04-19 16:45:12 EDT
fixed LaunchConfigurationsMessages.properties
Comment 3 Kevin Barnes CLA 2005-04-19 16:45:36 EDT
Darin, please verify
Comment 4 Darin Wright CLA 2005-04-22 09:34:43 EDT
Verified.