Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 321638

Summary: Launching the Rhino interpreter always shows echo in the console
Product: [WebTools] JSDT Reporter: Michael Rennie <Michael_Rennie>
Component: DebugAssignee: Michael Rennie <Michael_Rennie>
Status: RESOLVED FIXED QA Contact: Simon Kaegi <simon_kaegi>
Severity: normal    
Priority: P3 CC: thatnitind
Version: 3.2   
Target Milestone: 3.3 M1   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
proposed fix none

Description Michael Rennie CLA 2010-08-03 13:55:37 EDT
Created attachment 175803 [details]
proposed fix

code from HEAD

When you launch the Rhino interpreter, either from code or using the new (proposed) single-click launch, you always get an echo in the console about the port, etc the interpreter was launched on. 

We should not show this all the time, it should only appear if requested.

The attached fix adds the 'trace' flag to enable/disable the echo. The new flag can be used for RhinoDebugger like: 

transport=socket,suspend=y,address=9000,trace=n

and for the DebugShell like:

-port 10002 -suspend false -trace false

In the case of the DebugShell tracing is enabled by default, so if you leave the flag off you get tracing, whereas with the RhinoDebugger you do not get tracing if you leave the flag off.
Comment 1 Michael Rennie CLA 2010-08-04 10:52:01 EDT
applied to HEAD