[QVTO] Problem with debugging M2M transformations [message #670969] |
Mon, 16 May 2011 12:27 |
Niels Brouwers Messages: 80 Registered: July 2009 |
Member |
|
|
Hi all,
I am experiencing problems when debugging QVTO transformations. See the transformation below:
modeltype mm1 uses mm1('example.com.mm1');
modeltype mm2 uses mm2('example.com.mm2');
transformation mm1_to_mm2(in inModel : mm1, out outModel : mm2);
main() {
inModel.rootObjects()![mm1::A]. map createB();
}
mapping mm1::A::createB() : mm2::B {
log('Mapping createB called!');
}
Both meta-models are very simple as they only contain one Class. MM1 contains class A, MM2 contains class B.
The transformation executes correctly. However, when setting a breakpoint in mapping mm1::A::createB, the debugger will not stop at the breakpoint and I get the following error in the console:
Diagnostic OK source=org.eclipse.m2m.qvt.oml.execution code=0 OK data=[]
[QVTO Stack trace:]
The error log does not show any error.
Setting the breakpoint in main() is possible, and the debugger stops correctly. However, it is not possible to step into the mapping that is called.
Platform: Helios R2
Anyone who can help me with this?
Thank you in advance.
Kind regards,
Niels Brouwers.
Kind regards,
Niels Brouwers.
[Updated on: Mon, 16 May 2011 12:29] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.02374 seconds