Debugging Xtend2 generated Java [message #1863014] |
Wed, 10 January 2024 17:02  |
Eclipse User |
|
|
|
Hi. I was wondering about how to debug the Java code generated from Xtend2. Currently, whenever I'm debugging Xtend2 code, the debugger steps through the source .xtend files and the Variables view shows (some but not all) Xtend variables. But in order to properly debug the code I need to step through the generated Java. If I put a breakpoint in the generated Java, execution stops there, but the source brought up by the debugger is still the .xtend, and the variables are seem to be a subset of all the Java variables normally available but not all. For example, I often see "it" and "it_1" which are usually lambda arguments in the generated Java, but I don't see the parameters of the method being debugged. So, is there any way to configure Xtend or the debugger so that it only goes through the Java sources?
Thanks
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04844 seconds