Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsDebug Process output in console
https://www.eclipse.org/forums/index.php/mv/msg/157979/498686/#msg_498686
We have migrated our IDE from Dltk R1.0 to S2.0M3.
In DLTK R1.0 version of our IDE, when we debug the script locally,the console shows only the output received as a part of DBGP response.
But in DLTK S2.0M3 version of our IDE,we have observed that while local debugging the console shows the output received as a part of DBGP response as well as the output of the process.
Is there any handle,so that we could turn off the output from the processand the console shows only the output received as a part of DBGP response ?
Also,in Debug Launch Configuration Tab,there is a new option "Debug Console Redirection".What is the purpose of this option ? Is this option related to our issue ?
regards,
sheela]]>Sheela2009-11-18T04:27:48-00:00Re: Debug Process output in console
https://www.eclipse.org/forums/index.php/mv/msg/157979/498698/#msg_498698
Why do you want to ignore process output? Why is it printed, if nobody
wants it?
The reason why it was added is that if launched process dies before
establishing DBGP connection the only way to show details is print it
into stdout/stderr. So, I think it's quite useful feature.
The "Debug Console Redirection" option is used to turn on DBGP streams
redirection, i.e. send "stdout 2" and "stderr 2" commands, so launched
process should start sending output over DBGP. Without it the process
just sends output directly to stdout/stderr.
Regards,
Alex
Sheela wrote:
> Hi,
> We have migrated our IDE from Dltk R1.0 to S2.0M3.
>
> In DLTK R1.0 version of our IDE, when we debug the script locally,the
> console shows only the output received as a part of DBGP response.
>
> But in DLTK S2.0M3 version of our IDE,we have observed that while local
> debugging the console shows the output received as a part of DBGP
> response as well as the output of the process.
>
> Is there any handle,so that we could turn off the output from the
> process and the console shows only the output received as a part of DBGP
> response ?
>
> Also,in Debug Launch Configuration Tab,there is a new option "Debug
> Console Redirection".What is the purpose of this option ? Is this option
> related to our issue ?
>
>
> regards,
> sheela]]>Alex Panchenko2009-11-18T08:35:18-00:00Re: Debug Process output in console
https://www.eclipse.org/forums/index.php/mv/msg/157979/498897/#msg_498897
Thanks for your reply.
The thing is our interpreter was developed in such a way that if it is used to run the script it will print the output in standard output.
If it is used for debugging either local or remote, it will print the output in standard output on remote server as well as it will send the output as a dbgp response to the IDE to be shown in the console.
This is because in case, if interperter is in remote server we want output to be shown there on standard output as well as we want it to show in IDE console.
We developed our interpreter by keeping in mind the previous versions of dltk,but in the new dltk version,while local debugging the output is shown twice,one through dbgp responce and other as a part of process output.Thats why we dont need process output to be shown on console.
Can you provide some handle ,so that we could turn off the output from the process and the console shows only the output received as a part of DBGP response ?
Can we have the process output on console optional?