Debugging Expressions [message #645040] |
Wed, 15 December 2010 05:29  |
Eclipse User |
|
|
|
Hey every one,
Well im new to ATLs and trying to create a transformation, i have sucessfully completed all the examples given on the website but want to do more. Getting onto the point, im unable to debug the if conditions or expressions.
Here is the condition,
if(s1.incomingEdges->collect(c|c.source.lanes)->size()>0)
what i want is to see the actual value that its returning, like whats the value of size in this case, is it possible??
Please help me out coz im absolutely stuck here.
|
|
|
|
|
|
Re: Debugging Expressions [message #645108 is a reply to message #645071] |
Wed, 15 December 2010 10:39  |
Eclipse User |
|
|
|
Thanx once again, whats happning now is s1.incomingEdges is selecting only one incoming edge from all the edges and producing the result. so it works fine if there exists only one incomingEdge, but if there are more edges than it just selects the first edge and if it contains lanes it produces true else false. can u please guide how can that be fixed.
|
|
|
Powered by
FUDForum. Page generated in 0.09681 seconds