Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 12:27
Niels Brouwers is currently offline Niels BrouwersFriend
Messages: 80
Registered: July 2009
Hi all,

I am experiencing problems when debugging QVTO transformations. See the transformation below:

modeltype mm1 uses mm1('');
modeltype mm2 uses 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

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

Current Time: Wed Apr 14 14:09:59 GMT 2021

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

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

Back to the top