Hi Marc,
Thanks for the answer
But I’m implementing a class that implements IConsolePageParticipant, how I can override eventReceived() from my class?
Thanks again
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Marc Khouzam
Sent: mercoledì 30 aprile 2014 16:06
To: 'cdt-dev@xxxxxxxxxxx'
Subject: Re: [cdt-dev] How to enable or disable console in DSF like in CDI
Hi,
Printing to the gdb console is done by AbstractCLIProcess#eventReceived()
You should be able to override this to control when it prints.
Marc
Hi all,
I’ve a problem in migrating a feature from CDI to DSF, it is related to the gdb console
In CDI I do:
- miSession.getRxThread().setEnableConsole(false); to avoid the response (from gdb) is written to the console
- miSession.getRxThread().setEnableConsole(true); to re-enable the console
after some investigation I don’t find a way to do the same in DSF, I suspect it’s impossible
someone more expert than me can help me to understand if it is possible in DSF and how?
Thanks in advance
Ciao
Gaetano