Skip to main content



      Home
Home » Archived » M2M (model-to-model transformation) » [QVTO] Problem with debugging M2M transformations
icon4.gif  [QVTO] Problem with debugging M2M transformations [message #670969] Mon, 16 May 2011 08:27
Eclipse UserFriend
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.

[Updated on: Mon, 16 May 2011 08:29] by Moderator

Previous Topic:[ATL] Error loading platform
Next Topic:[ATL] Executing ATL transformation using JAVA or ANT
Goto Forum:
  


Current Time: Sun Aug 31 16:49:26 EDT 2025

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

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

Back to the top