Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » eclipse debug platform: starting directly in suspend mode and connecting variable view
eclipse debug platform: starting directly in suspend mode and connecting variable view [message #336657] Fri, 26 June 2009 09:45
Ralf Buschermoehle is currently offline Ralf BuschermoehleFriend
Messages: 81
Registered: July 2009

I would like to connect our interpreter to the debug platform - but the
example is
way to elaborated for our purpose (same applies to the sources).

What we have:
- Launch configuration, incl.
IDebugTarget target = new RMOFDebugTarget(launch);
There is no need to connect to an external vm/process - so I skipped the
process invocation parts, like
Process process = DebugPlugin.exec(commandLine, null);
IProcess p = DebugPlugin.newProcess(launch, process, "My Debugger");

2.) Some kind of Debug Model (Target, Thread, StackFrame) roughly
connected to our interpreter e.g., isTermined checks the running
interpreter ...
public boolean isTerminated() {
return !;
.... but mainly unimplemented stubs.

What we don't have:

- Support of debug actions (resume, step, step into). isTerminated the
only action supported (more or less) correctly from the debug view. What
do I need to call/fire (initially fireCreationEvent();
fireSuspendEvent(DebugEvent.SUSPEND); is called) to tell the debug
platform that initially and directly that we are in step mode /
suspended? A simple isSuspended() returning 'true' is not called?

- Support of the views (i.e. debug view itself - current operational
frame & variables view) in terms of content (e.g., the current set of
transitions working on, the current variable scope dealing with a.s.o.)

I would like to keep it as simple as possible (in the first shot), so we
don't have an events (since we can directly access the interpreter),
threads (since only one instance can be executed in the graphical
environment at a time) and we don't need breakpoints (well there are
some in the models - but the debug environment does not need to handle
them right now).

Any help would be appreciated :)


Previous Topic:WHere to download releng basebuilder for 3.4.2
Next Topic:Same installed plug-ins for all the team
Goto Forum:

Current Time: Thu May 24 12:29:29 GMT 2018

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

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

Back to the top