Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » ATL » Conditional Breakpoints in ATL?
Conditional Breakpoints in ATL? [message #1858198] Wed, 22 March 2023 09:47 Go to next message
Bert Bert is currently offline Bert BertFriend
Messages: 2
Registered: March 2023
Junior Member
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 20:31 Go to previous messageGo to next message
Dennis Wagelaar is currently offline Dennis WagelaarFriend
Messages: 589
Registered: September 2012
Location: Belgium
Senior Member

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.


Cheers,
Dennis
Re: Conditional Breakpoints in ATL? [message #1858214 is a reply to message #1858204] Thu, 23 March 2023 09:41 Go to previous message
Bert Bert is currently offline Bert BertFriend
Messages: 2
Registered: March 2023
Junior Member
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: Fri Apr 26 02:32:52 GMT 2024

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

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

Back to the top