Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dynamic Languages Toolkit (DLTK) » Debug Process output in console(Console shows irrelevant output)
Debug Process output in console [message #498686] Wed, 18 November 2009 04:27 Go to next message
Sheela is currently offline SheelaFriend
Messages: 52
Registered: July 2009
Member
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
Re: Debug Process output in console [message #498698 is a reply to message #498686] Wed, 18 November 2009 08:35 Go to previous messageGo to next message
Alex Panchenko is currently offline Alex PanchenkoFriend
Messages: 342
Registered: July 2009
Senior Member
Hi Sheela,

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
Re: Debug Process output in console [message #498897 is a reply to message #498698] Thu, 19 November 2009 05:00 Go to previous message
Sheela is currently offline SheelaFriend
Messages: 52
Registered: July 2009
Member
Hi Alex,

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?

Regards,
Sheela

Previous Topic:Remote Debugging
Next Topic:[BUILD] I-I200911191517-200911191517
Goto Forum:
  


Current Time: Fri Apr 19 22:59:49 GMT 2024

Powered by FUDForum. Page generated in 0.02900 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top