Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » DSF/GDB How to know current session in verbose mode
DSF/GDB How to know current session in verbose mode [message #1782001] Thu, 15 February 2018 16:34
Vincent Richaud is currently offline Vincent RichaudFriend
Messages: 7
Registered: February 2018
Junior Member
Hi everyone,

I'm working on a plugin project that used CDI. So I'm trying to "migrate" it to DSF.
Somewhere I have the following code :
public class MiConsoleVerboseModeAction extends Action {
    private ProcessConsole fConsole;
    public MiConsoleVerboseModeAction(ProcessConsole console) {
        fConsole = console;
        ...
	GDBProcess fProcess = (GDBProcess) fConsole.getProcess();
        setChecked(fProcess.getTarget().getMISession().isVerboseModeEnabled());
    }
}

So I've changed the org.eclipse.cdt.debug.mi.core.GDBProcess;
By org.eclipse.cdt.dsf.gdb.launching.GDBProcess;

And now I don't know how to obtain the info about Verbose mode. Someone know it ?
I've lokked for it, but I only found that but I don't understand it...
Previous Topic:arduino CDT launcher problem
Next Topic:[DSF] Is there a class to represents a GDB/MI Session
Goto Forum:
  


Current Time: Wed Sep 19 18:45:14 GMT 2018

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

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

Back to the top