Help with modifying source and variables views during debugging [message #1772952] |
Tue, 19 September 2017 12:10 |
Nikita Dümmel Messages: 19 Registered: September 2017 |
Junior Member |
|
|
Hi,
I am developing a DSL with Xtext which is generated to Java.
If I place a breakpoint in my DSL editor a corresponding breakpoint is placed in the generated Java code which allows me to debug through the generated code.
However what im trying to achieve, is that during stepping over code the source code of my DSL is shown instead of Java code. Furthermore Id like to edit the variables view.
So from what I understand JDIStackFrame holds all the needed data, i.e. source location, line and variables. Is this correct?
And could you point me to where this is initialized or how can I replace it with my own stackframe?
For now I have only managed to replace the JavaSourceLookupDirector with my own that points to the DSL code in my LaunchDelegate. However while it does show my dsl source code while stepping, it has no information on current line and the variables.
Thanks,
Nikita.
[Updated on: Tue, 19 September 2017 13:06] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06630 seconds