Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Xtext 2.3.1 Debugging does not work after Project->Clean
Xtext 2.3.1 Debugging does not work after Project->Clean [message #1047390] Tue, 23 April 2013 06:26
michael m is currently offline michael mFriend
Messages: 17
Registered: March 2013
Junior Member

has somebody experienced the same issue:
1. I cannot debug anymore my DSL files after i do a full clean (Project->Clean).
2. But if i change and save the file (which i'd like to debug). Then it works again.

In the first case the breakpoint seems to be skipped if the marked line contains no
java statement in the generated java file. If there is a java statement then it stops (even though its the wrong statement).

Dsl method:
void test() {
  val int a = 10;   // is in line 6
  val int b = 12;   // is in line 7

Generated java method:
public void test() {
  int a = 10       // is in line 7 (java file)
  int b = 12       // is in line 9 (java file)

If i set the breakpoint in line 7 in my dsl method then it stops at line 7 in the java file (after a Project->Clean).

The ._trace files are in both cases (1,2) identical.

Can somebody give me a hint what the reason could be? Or which files/methods
are responsible for the mapping between DSL and Java?


[Updated on: Tue, 23 April 2013 06:27]

Report message to a moderator

Previous Topic:DSL-project dependencies
Next Topic:Add/ modify preference page
Goto Forum:

Current Time: Sun Jan 19 08:51:22 GMT 2020

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

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

Back to the top