Skip to main content



      Home
Home » Modeling » ATL » Conditional Breakpoints in ATL?
Conditional Breakpoints in ATL? [message #1858198] Wed, 22 March 2023 05:47 Go to next message
Eclipse UserFriend
Hello Everyone,
is there a possibility to set conditional breakpoints in ATL?
Thanks in advance
Bert
Re: Conditional Breakpoints in ATL? [message #1858204 is a reply to message #1858198] Wed, 22 March 2023 16:31 Go to previous messageGo to next message
Eclipse UserFriend
No, unfortunately not. The workaround is to wrap the code fragment you want to put a conditional breakpoint on in an "if"-expression. For example:
self.property->select(x | 
    x.isGood
)->first()

can have a conditional breakpoint on "x.isGood" by duplicating the code you want to have a breakpoint on, then wrap it in a "if"-expression:
self.property->select(x | 
     if breakPointCondition then
        x.isGood
    else
        x.isGood
    endif
)->first()

You can now put a regular breakpoint on line 3.
Re: Conditional Breakpoints in ATL? [message #1858214 is a reply to message #1858204] Thu, 23 March 2023 05:41 Go to previous message
Eclipse UserFriend
Hey Dennis,
thanks a lot! I'll try it that way.
Regards
Previous Topic:Transformation parameters
Next Topic:Trace Model ATL
Goto Forum:
  


Current Time: Tue Jul 08 02:59:10 EDT 2025

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

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

Back to the top