Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-debug-dev] Console View


The debug console is based on a "process model". That is, a process with standard input, error, and output streams. The console displays output from a process' output streams, and writes to the input stream. In the 2.1 release, Ant & External tools use the debug console based on this process model. We are looking to extend console to support non-process models - i.e. clients that simply want to log messages. It sounds like the mechanism you have used may work, but is not the intended way to use the console - as the document you retrieve from the view is arbitrary (i.e. - likely belongs to some other process). The API you are looking for does not yet exist.

Darin

 


"Wong, Carl" <carl.wong@xxxxxxxxx>
Sent by: platform-debug-dev-admin@xxxxxxxxxxx

05/01/2003 04:53 PM
Please respond to platform-debug-dev

       
        To:        "'platform-debug-dev@xxxxxxxxxxx'" <platform-debug-dev@xxxxxxxxxxx>
        cc:        
        Subject:        [platform-debug-dev] Console View




I would like to redirect all informational messages generated by my plugin
to Debug's Console View. I was able to do it by getting the Viewer thru the
IDebugView  public interface and then get to the IDocument.    Once I got a
hold of the IDocument, I used the "replace" method to display the text to
the Console view.  Is this the proper/right thing to do for a plugin other
than JDT to display text into the Console View??  I heard that there is a
plan to promote the sharing of the debug console view with Ant, and
potentially other clients.  If such plan exists, what is the status??

-Carl
_______________________________________________
platform-debug-dev mailing list
platform-debug-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-debug-dev



Back to the top