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
Hi,

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).

E.g.
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?

Thanks,
Michael

[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 Dec 21 04:48:30 GMT 2014

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

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