Debug support for DSL in Xtext [message #555713] |
Fri, 27 August 2010 18:53 |
No real name Messages: 101 Registered: August 2010 |
Senior Member |
|
|
Hi,
I'm a new user of a Xtext/Eclipse. I'm reading through the documentation. I'm interested in creating a small domain-specific language. Let's say I defined my language and write a code generator for this with Xtext. For example, say 1 line in my DSL executes 10 lines of C/C++ code. I can use the existing C/C++ development tools for building/running/debugging the generated code.
My question is regarding debugging - single stepping through my DSL. Since the generator is generating C/C++ code, I can single step that in gdb. However, is it possible or is thre an interface where I can do the following.
1. I put a break point in my DSL. I say single-step. That executes the 10 lines of code and then moves the cursor position down do the next line and stops.
Thus, I want to single step through my DSL and not the generated code. Is there some way to do this in Etext/Eclipse?
Thank you for any pointers/help.
[Updated on: Fri, 27 August 2010 18:55] Report message to a moderator
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02901 seconds