2016-04-21 20-09-55
J.
mvp_badge
MVP
Conditional Breakpoint
4731
Views
95
Comments
On our RadarOn our Radar
Debugger

To be able to set conditional breakpoints instead of breaking everytime.


2011-06-15 10-51-22
Joop Stringer
Yes yes yes please :-)
pretty please.
2022-09-05 17-58-21
Matthias Preuter
mvp_badge
MVP

Yes, this is a MUST HAVE!!!
Add an if component to your canvas which reads a sit property and if its true it goes to a dummy assign which has a breakpoint, you can then set the sit property whenever you want
How about somethign similar to a compiler directive such as DEBUG. Then your code could be built and run in productiion and when you need more detaield info in production then you set the directive at run-time and get more logged info.
I really could have used it already!  :-)
Thats an important feature, yes please
Since this has been liked a lot, and was first suggested almost 5 years ago, any comments from OutSystems about the likely hood that this can be implemented in a future release?
2018-06-05 10-12-21
Remco Dekkinga
mvp_badge
MVP
Hi Outsystems,

Can you give us a roadmap of when this feature will be delivered?

It seems that almost everybody needs this feature!
If you want to debug the iteration 3000 in a cycle without Conditional Breakpoint: good luck!  :D
UserImage.jpg
João Carvalho
Come on guys, 200 votes since 2010! When do you plan to implement this?
2020-03-13 12-09-25
Johan den Ouden
mvp_badge
MVP

We should really have this!

2022-07-06 03-36-19
Hanno
mvp_badge
MVP

Will be handy indeed

+1 !!!!

I was going to add this idea, but obviously was added before, but I see that I am not the first one that has occurred it. Will be very very useful.

A ideia é fazer um brakepoint com uma condicional IF ou Case. Por exemplo se ocorrer uma variável tipo x = 100 então faz o break naquele local.

Merged from 'Possibilitar fazer um breakpoint com IF' (idea created on 2016-05-31 14:08:12 by gyndaniel), on 2018-01-30 16:23:40 by Vasco Pessanha
2019-11-12 17-31-26
Justin James
mvp_badge
MVP
One of the ten most liked ideas already:
https://www.outsystems.com/ideas/66/conditional-breakpoint

J.Ja

Merged from 'Possibilitar fazer um breakpoint com IF' (idea created on 2016-05-31 14:08:12 by gyndaniel), on 2018-01-30 16:23:40 by Vasco Pessanha

Like the feature that exists in Visual Studio.



Merged from 'Conditional Breakpoints' (idea created on 2016-12-05 17:09:03 by Filipe Fortunato), on 2018-02-26 11:59:49 by Vasco Pessanha
2019-11-12 17-31-26
Justin James
mvp_badge
MVP

One of the most requested ideas already:

https://www.outsystems.com/Ideas/66/conditional-breakpoint

J.Ja



Merged from 'Conditional Breakpoints' (idea created on 2016-12-05 17:09:03 by Filipe Fortunato), on 2018-02-26 11:59:49 by Vasco Pessanha

Ups! 



Merged from 'Conditional Breakpoints' (idea created on 2016-12-05 17:09:03 by Filipe Fortunato), on 2018-02-26 11:59:49 by Vasco Pessanha
Merged this idea with 'Possibilitar fazer um breakpoint com IF' (created on 2016-05-31 14:08:12 by gyndaniel)
Merged this idea with 'Conditional Break Point' (created on 2018-05-11 12:11:52 by Willian Filus)

Hi, 

Is possible to implement a conditional break point in debug mode. Like a visual studio and others programming IDE.

Stop on break point only the condition is accepted.


Thanks



Merged from 'Conditional Break Point' (idea created on 2018-05-11 12:11:52 by Willian Filus), on 2018-05-11 14:13:11 by Fernando Moitinho
2020-04-15 12-37-36
Daniël Kuhlmann
mvp_badge
MVP

Same as: https://www.outsystems.com/ideas/66/Conditional+Breakpoint




Merged from 'Conditional Break Point' (idea created on 2018-05-11 12:11:52 by Willian Filus), on 2018-05-11 14:13:11 by Fernando Moitinho
Merged this idea with 'Actions - Conditional Debug' (created on 06 Aug 2018 15:00:34 by Manuel Gomes)

Add Conditional Debuging, at least in actions. For example set a breakpoint in a action and be able to insert values in the input parameters of that action to the debug stop when the values match.



This comment was:
- originally posted on idea 'Actions - Conditional Debug' (created on 06 Aug 2018 by Manuel Gomes)
- merged to idea 'Conditional Breakpoint' on 06 Sep 2018 20:48:06 by Stacey Levine

Hey, man. It looks like it's a duplicate. Check this Idea


https://www.outsystems.com/ideas/66/Conditional+Breakpoint



This comment was:
- originally posted on idea 'Actions - Conditional Debug' (created on 06 Aug 2018 by Manuel Gomes)
- merged to idea 'Conditional Breakpoint' on 06 Sep 2018 20:48:06 by Stacey Levine
Changed the category to
Debugger


This comment was:
- originally posted on idea 'Actions - Conditional Debug' (created on 06 Aug 2018 by Manuel Gomes)
- merged to idea 'Conditional Breakpoint' on 06 Sep 2018 20:48:06 by Stacey Levine
2019-11-12 17-31-26
Justin James
mvp_badge
MVP
Merged this idea with 'Continue to certain value' (created on 27 Sep 2018 09:59:07 by Martin Rozeboom)

While debugging, it should be easier to continue to a certain value when being in a loop. 



This comment was:
- originally posted on idea 'Continue to certain value' (created on 27 Sep 2018 by Martin Rozeboom)
- merged to idea 'Conditional Breakpoint' on 28 Sep 2018 12:11:28 by Justin James
Changed the category to
Debugger


This comment was:
- originally posted on idea 'Continue to certain value' (created on 27 Sep 2018 by Martin Rozeboom)
- merged to idea 'Conditional Breakpoint' on 28 Sep 2018 12:11:28 by Justin James
2016-04-21 20-09-55
J.
mvp_badge
MVP

ergo, conditional breakpoint?




This comment was:
- originally posted on idea 'Continue to certain value' (created on 27 Sep 2018 by Martin Rozeboom)
- merged to idea 'Conditional Breakpoint' on 28 Sep 2018 12:11:28 by Justin James

A conditional breakpoint would be great!



This comment was:
- originally posted on idea 'Continue to certain value' (created on 27 Sep 2018 by Martin Rozeboom)
- merged to idea 'Conditional Breakpoint' on 28 Sep 2018 12:11:28 by Justin James
2019-11-12 17-31-26
Justin James
mvp_badge
MVP
Merged this idea with 'Condition on Breakpoint for debug' (created on 09 Oct 2018 20:25:19 by Maycon Oleczinski)

Sometimes we need isolate data for a specific behavior helping to find an error/bug/diff rule.

But to find this data extra effort are necessary looking for debug row-by-row.

Can be implemented a feature to break condition, like VS have.



This comment was:
- originally posted on idea 'Condition on Breakpoint for debug' (created on 09 Oct 2018 by Maycon Oleczinski)
- merged to idea 'Conditional Breakpoint' on 10 Oct 2018 03:56:25 by Justin James
2017-07-05 12-29-36
Carlos Alfaro
mvp_badge
MVP
Merged this idea with 'Conditional breakpoint stop' (created on 26 Oct 2018 12:13:27 by Mykola (Nick) Tkachenko)

It would help to debug lists iterations if there would be a conditional stop not stop on every loop. For example If I want to look into specific loop where say id=99  and there is a foreach with 1000 records and I don't want to alter the flow to have possibility to stop only when value in a loop is 99. otherwise I have to click through 98 loops and do not miss the one I need to look into.



This comment was:
- originally posted on idea 'Conditional breakpoint stop' (created on 26 Oct 2018 by Mykola (Nick) Tkachenko)
- merged to idea 'Conditional Breakpoint' on 19 Nov 2018 10:10:01 by Carlos Alfaro

Hello,

I believe this is a duplicate from https://www.outsystems.com/ideas/66/Conditional+Breakpoint


Kind regards,

Márcio Menezes



This comment was:
- originally posted on idea 'Conditional breakpoint stop' (created on 26 Oct 2018 by Mykola (Nick) Tkachenko)
- merged to idea 'Conditional Breakpoint' on 19 Nov 2018 10:10:01 by Carlos Alfaro

+1

2019-08-08 07-29-15
Marco Arede
mvp_badge
MVP

Also useful for me, sometimes I only want to stop execution when a given condition verifies in my code.

Please make sure that the future conditional breakpoint can not only have variables having a certain value but also can have expresions where variables must be between 2 values or break on multiple values. Just like is normal in MS .NET development studio. 

2020-04-21 08-15-30
William Antunes
mvp_badge
MVP

We really need this!

I am in a situation where i desperately need this right now, clicking through 800 records to find the one I need is ridiculous.  8 years this thread has been open, and nothing.  This should be a top priority for the dev team.

Hey Michael,

Thanks for the feedback! We are actually evaluating a useful MVP in the short term, stay tuned.

Out of curiosity, were you searching for in that loop? What would be the condition? ID = XX?  NAME = ?

Cheers,

Merged this idea with 'Debugging actions with "for each" statements - continue to Id=##' (created on 26 Jan 2019 15:29:01 by Helena Lameiro)

Hi everyone!

It would be great to have a functionality in debugger that could allow us to go to a specific ID of the iterated list while debugging For each loops, like a "continue or jump to Something.ID=..."

Sometimes we have a specific error that we want to screen for some ID's while others are behaving as expected in the loop.

Having something that could allow us to continue to ID for instance 5, that we know that is behaving correctly, and then compare with ID 9, that is having a weird result, would easy the process of error correction.

It would also avoid us to run all Id's (namely in large loop actions) until desired ID, then jumping to the folllowing one.



This comment was:
- originally posted on idea 'Debugging actions with "for each" statements - continue to Id=##' (created on 26 Jan 2019 by Helena Lameiro)
- merged to idea 'Conditional Breakpoint' on 01 Feb 2019 06:50:03 by Vasco Pessanha

You mean a conditional breakpoint? (check out this idea.)



This comment was:
- originally posted on idea 'Debugging actions with "for each" statements - continue to Id=##' (created on 26 Jan 2019 by Helena Lameiro)
- merged to idea 'Conditional Breakpoint' on 01 Feb 2019 06:50:03 by Vasco Pessanha

Not properly. I would like to beak all time in order to screen errors in all process, but to skip some of the loops or doing only a few of them



This comment was:
- originally posted on idea 'Debugging actions with "for each" statements - continue to Id=##' (created on 26 Jan 2019 by Helena Lameiro)
- merged to idea 'Conditional Breakpoint' on 01 Feb 2019 06:50:03 by Vasco Pessanha

Yeah, I think Sam is right, this is called conditional breakpoint and I think this idea can be merged with the one Sam linked.



This comment was:
- originally posted on idea 'Debugging actions with "for each" statements - continue to Id=##' (created on 26 Jan 2019 by Helena Lameiro)
- merged to idea 'Conditional Breakpoint' on 01 Feb 2019 06:50:03 by Vasco Pessanha

Hey Helena,

The way we see this happening is by setting in fact a condition on your breakpoint (something like ID = XX).

Will merge the ideas!

Cheers,



This comment was:
- originally posted on idea 'Debugging actions with "for each" statements - continue to Id=##' (created on 26 Jan 2019 by Helena Lameiro)
- merged to idea 'Conditional Breakpoint' on 01 Feb 2019 06:50:03 by Vasco Pessanha

This Idea is from 2010, Does anyone know if it will be implemented soon?

Not yet Martin. When it's implemented the status will change to "Implemented" like this one

Merged this idea with 'Condicional Debugging' (created on 15 May 2019 11:18:29 by Carlos Diogo Lima Gonçalves)

Hello

I would like to be able to do a conditional debugging.

What do i mean by that is if i have a timer running 500000 records  and there is one that have a problem and i know his code or Id i would like to be able to tell to the debugger to stop in that break point only when "id = 401 or id = 502".


Now a days i can do this by adding an if with that condition and an assign with break point.

If possible i would like to have  an if statement in the break point so i can choose when the break point will trigger.

eg 1: if(true) -> normal break point

eg2: if(a.id = 22)

eg3: if(getuserid() = 50 and  Round(pointer) = 5)



This comment was:
- originally posted on idea 'Condicional Debugging' (created on 15 May 2019 by Carlos Diogo Lima Gonçalves)
- merged to idea 'Conditional Breakpoint' on 15 May 2019 11:27:17 by Vasco Pessanha
2020-03-01 17-52-33
Nikhil Gaur
mvp_badge
MVP

I am wondering why such popular & useful idea isnot  implemented yet even after 9 long years?

What 9 years, you made me scroll up again to confirm. This is what developers love to have. OutSystems should implement this long ago.

2019-11-12 17-31-26
Justin James
mvp_badge
MVP
Merged this idea with 'Conditional breakpoint for debugging' (created on 11 Dec 2019 07:27:47 by Nikhil Gaur)
2020-03-01 17-52-33
Nikhil Gaur
mvp_badge
MVP

There should be an option to add conditional breakpoint for ease of debugging. This is specifically usefull in case of long loops or conditions where we are getting issue on specific point. So this conditional breakpoint will help to pause at the breakpoint only when certain condition is matched.

There is simillar conditional breakpoint option available in Visual Studio for implementation reference.



This comment was:
- originally posted on idea 'Conditional breakpoint for debugging' (created on 11 Dec 2019 by Nikhil Gaur)
- merged to idea 'Conditional Breakpoint' on 15 Dec 2019 16:03:20 by Justin James
2020-04-15 12-37-36
Daniël Kuhlmann
mvp_badge
MVP

This idea can be merged with existing idea that has already more than 300 votes

https://www.outsystems.com/ideas/66/conditional-breakpoint?IsFromAdvancedSearch=True



This comment was:
- originally posted on idea 'Conditional breakpoint for debugging' (created on 11 Dec 2019 by Nikhil Gaur)
- merged to idea 'Conditional Breakpoint' on 15 Dec 2019 16:03:20 by Justin James
2020-03-01 17-52-33
Nikhil Gaur
mvp_badge
MVP

Oh yes, but I was not able to find it in matching ideas while adding this idea. Even when I use same name to add idea it shows some crazy suggestion but not relavent one. Looks like something is wrong with this marching idea feature. See below image



This comment was:
- originally posted on idea 'Conditional breakpoint for debugging' (created on 11 Dec 2019 by Nikhil Gaur)
- merged to idea 'Conditional Breakpoint' on 15 Dec 2019 16:03:20 by Justin James
2016-04-21 20-09-55
J.
mvp_badge
MVP
Merged this idea with 'Be able to stop a for each in the iteration that we want' (created on 27 Feb 2020 16:02:22 by André Caldeira)

Would be interesting, in the debug, if we were able to choose in wich for each iteration we want to stop. Or maybe have a way to jump to the 25th iteration...




This comment was:
- originally posted on idea 'Be able to stop a for each in the iteration that we want' (created on 27 Feb 2020 by André Caldeira)
- merged to idea 'Conditional Breakpoint' on 28 Feb 2020 08:42:35 by J.
2016-04-21 20-09-55
J.
mvp_badge
MVP
Merged this idea with 'Debugger breaks when a variable changes' (created on 14 Jan 2020 09:16:44 by Daan van Hoeke)

I would like to be able to put a break in the debugger when a variable changes. So the debugger will suspend the execution of threads like the Break On All Exceptions option when the value is changed.
Maybe when watching a variable this could be an extra option.
This could save some time when a variable is changed but you don't know exactly where.
Of course it would be even better combined with conditional breakpoints.
Then it would be possible to break anywhere in a module when a variable has a specific value.




This comment was:
- originally posted on idea 'Debugger breaks when a variable changes' (created on 14 Jan 2020 by Daan van Hoeke)
- merged to idea 'Conditional Breakpoint' on 28 Feb 2020 08:43:21 by J.

+1

2019-11-12 17-31-26
Justin James
mvp_badge
MVP
Merged this idea with '[Service Studio] Conditional Breakpoint' (created on 31 Mar 2020 13:15:50 by Luis Soares)

Hello,

It would be good if we could have a way to add Conditional Breakpoints. 

We could add this kind of breakpoint and then set a condition for service studio to stop.

If the condition is True then the break-point will stop else the break-point would be ignored.


Thanks,

Luis



This comment was:
- originally posted on idea '[Service Studio] Conditional Breakpoint' (created on 31 Mar 2020 by Luis Soares)
- merged to idea 'Conditional Breakpoint' on 02 Apr 2020 20:11:01 by Justin James
Changed the category to
Debugger


This comment was:
- originally posted on idea '[Service Studio] Conditional Breakpoint' (created on 31 Mar 2020 by Luis Soares)
- merged to idea 'Conditional Breakpoint' on 02 Apr 2020 20:11:01 by Justin James
2022-09-05 17-58-21
Matthias Preuter
mvp_badge
MVP

Wow, this Idea is nearly 10 years old! (And still not implemented)

I gave up on it. It might be that whats in Visual Studio obvious functionality will never make it in OutSystems Service Studio. What kind of service is that?

2022-11-17 11-29-37
Carlos Lessa
Champion

+1

So, today I have a query which returns items from ~200k entries, each entry having about 10 linked entries each. There was an error in the data for the linked entries.

Conditional breakpoints would have allowed me to narrow down the query parameters and outliers in the data much faster. With conditions, I could split the resultset and / or stop only when certain variables are set to certain values - you know the drill.

If-branch copy-paste application-logic modification horror (with editable condition values from site property) got me through, but what a mess... Also, publishing twice to set/unset each "breakpoint" was so slow I almost got overtaken by a glacier.

Chrome offers this for javascript, can we please have this feature to server side debugging as well?


We need this, guys. Debugging with conditional breaks is a must. At least once per week (if not more) I have to add IFs to the code in order for the debugger to stop where I want it to stop.

2019-11-12 17-31-26
Justin James
mvp_badge
MVP
Merged this idea with 'Possibility to add a conditional breakpoint?' (created on 25 Aug 2020 16:15:42 by Praveen Kumar Natarajan)

Consider there is a bigger loop of record list. and while iterating it becomes tedious to keep pressing  continue until the required enumeration is reached sometimes there is a possibility to miss. Hence will it be possible to add a conditional breakpoint so that the debugger will stop when the given condition is meet



This comment was:
- originally posted on idea 'Possibility to add a conditional breakpoint?' (created on 25 Aug 2020 by Praveen Kumar Natarajan)
- merged to idea 'Conditional Breakpoint' on 30 Aug 2020 08:10:18 by Justin James

It is a good idea but already sugested


Consider to merge it


https://www.outsystems.com/ideas/66/conditional-breakpoint?IsFromAdvancedSearch=True 


Regards




This comment was:
- originally posted on idea 'Possibility to add a conditional breakpoint?' (created on 25 Aug 2020 by Praveen Kumar Natarajan)
- merged to idea 'Conditional Breakpoint' on 30 Aug 2020 08:10:18 by Justin James

I would really like this.

As a workaround, I added one additional if to the code with my condition and then empty assign to the true branch, so that if the condition is met then it will also go to an assign branch that will trigger the debugger. To visualise this approach:


Please add this! It is a nightmare to debug over big lists. The option of Mr. Potter obviously works, but it would be nice to do this without having to add something to your code, create a new version and having to update the consumers.

2020-03-01 17-52-33
Nikhil Gaur
mvp_badge
MVP
Merged this idea with 'Add a break point condition functionality' (created on 25 Mar 2021 21:57:31 by Rafael Mendes Carvalho)

When debugging code, it would be interesting to be able to add a condition for the breakpoint, based on the data available in the running action.



This comment was:
- originally posted on idea 'Add a break point condition functionality' (created on 25 Mar 2021 by Rafael Mendes Carvalho)
- merged to idea 'Conditional Breakpoint' on 26 Mar 2021 04:18:31 by Nikhil Gaur
2019-11-12 17-31-26
Justin James
mvp_badge
MVP
Merged this idea with 'Debug mode with conditional breakpoint' (created on 30 Mar 2021 14:17:49 by Paulo Taveira)

It would be nice to have a conditional breakpoint while debugging. It is useful when we don't want to loop many times through loops, we could have the debug stop when some some condition is met like, for instance, variable x = 37 or any other number.



This comment was:
- originally posted on idea 'Debug mode with conditional breakpoint' (created on 30 Mar 2021 by Paulo Taveira)
- merged to idea 'Conditional Breakpoint' on 31 Mar 2021 03:05:48 by Justin James
2020-04-15 12-37-36
Daniël Kuhlmann
mvp_badge
MVP
Merged this idea with 'Conditional breakpoints for debugging' (created on 14 Apr 2021 09:51:06 by John Allen)

Having the option of setting some conditions on breakpoints could really help in scenarios such as; iterating through a list and knowing you want an index at the end of the list,

You could apply breakpoint and have it only become active once that condition is fulfilled

For example when List.CurrentRowNumber = (List.Length-1)
Once this condition has been hit the breakpoint would become active, otherwise it'll will sit deactivated 



This comment was:
- originally posted on idea 'Conditional breakpoints for debugging' (created on 14 Apr 2021 by John Allen)
- merged to idea 'Conditional Breakpoint' on 15 Apr 2021 09:44:20 by Daniël Kuhlmann
2020-04-15 12-37-36
Daniël Kuhlmann
mvp_badge
MVP
Merged this idea with 'Conditional Debug' (created on 15 Apr 2021 16:36:34 by Gonçalo Ferraria)

Hi All,

A very important feature that I would like to have available when debugging my applications, would be to have the possibility of having breakpoint's that stop according to a condition defined by the programmer.

Is particular useful when you search for a specific use case in your logic and for example imagine a loop with 2k records. If you need to stop only when the record code is 'xpto' you need to iterate all records or a part of them, to see the record that you need. The workaround is implementing an "if" on my logic, but requires change the logic.

Thank you.




This comment was:
- originally posted on idea 'Conditional Debug' (created on 15 Apr 2021 by Gonçalo Ferraria)
- merged to idea 'Conditional Breakpoint' on 16 Apr 2021 14:21:07 by Daniël Kuhlmann

Great Idea Gonçalo!



This comment was:
- originally posted on idea 'Conditional Debug' (created on 15 Apr 2021 by Gonçalo Ferraria)
- merged to idea 'Conditional Breakpoint' on 16 Apr 2021 14:21:07 by Daniël Kuhlmann
UserImage.jpg
João Forte Carvalho

This would be very useful!



This comment was:
- originally posted on idea 'Conditional Debug' (created on 15 Apr 2021 by Gonçalo Ferraria)
- merged to idea 'Conditional Breakpoint' on 16 Apr 2021 14:21:07 by Daniël Kuhlmann

same as https://www.outsystems.com/ideas/66/conditional-breakpoint?IsFromAdvancedSearch=True



This comment was:
- originally posted on idea 'Conditional Debug' (created on 15 Apr 2021 by Gonçalo Ferraria)
- merged to idea 'Conditional Breakpoint' on 16 Apr 2021 14:21:07 by Daniël Kuhlmann

Hi Rebecca Hall,

True :)

It Will be merged, but is a reinforcement of this need.



This comment was:
- originally posted on idea 'Conditional Debug' (created on 15 Apr 2021 by Gonçalo Ferraria)
- merged to idea 'Conditional Breakpoint' on 16 Apr 2021 14:21:07 by Daniël Kuhlmann
2020-04-15 12-37-36
Daniël Kuhlmann
mvp_badge
MVP
Merged this idea with 'Breakpoint conditional in debugging ' (created on 08 Dec 2021 17:48:12 by Wellington_Araujo)

It would be great if you could set debug as conditional.

Example: In a list from 0 to 10 the debug stops only in 7.


2020-04-15 12-37-36
Daniël Kuhlmann
mvp_badge
MVP

It would be great indeed, many people think alike, for that this is one of the oldest ideas created already in May 20210. I will merge your's into the existing idea.

will be very much helpful. i was about to post it, but found this idea already on radar. :) 

Please! Please!!  Please!!
Talking about some solutions related here, for example: Use a site property + dummy assign with normal breakpoint, this is not convenient 'cause sometimes we have to solve a prd issue in a fast way and if we had a way to interrupt the code based on a condition in the first moment and based another conditional in the second time is VERY BETTER..  We can't stop the code, change the site property then start again...this is not pratical solution.

2020-04-15 12-37-36
Daniël Kuhlmann
mvp_badge
MVP
Merged this idea with 'Using Conditional Breakpoints' (created on 23 Jan 2023 14:03:17 by Gandeev Boddeti)

Hi, 


I would like to see the feature where breaking point hit the code flow only on specific conditions instead of hitting it every time.

We have this functionality in many IDE's when it comes to traditional development but I would love to see this feature in OS IDE and it also saves lot of time while debugging the piece of code in loops.


Best Regards,

Gandeev Boddeti

Yes very useful idea indeed