Set Execution Step in Debug Mode
2948
Views
38
Comments
On our RadarOn our Radar
Debugger
While in Debug Mode, have the chance of setting the Execution to step-back in the flow. Along with this Idea debugging will be quicker.

Add the ability to change the value of a variable, in run-time while debugging;

Allow to move the arrow pointer to a different point in the code and continue the execution;




Merged from 'Debugger improvements' (idea created on 2017-10-03 10:31:40 by Carlos Freitas), on 2017-10-18 12:10:40 by Kilian Hekhuis
UserImage.jpg
Hanno
mvp_badge
MVP

Hi Carlos

The first part of your idea is already an idea on its own: https://www.outsystems.com/ideas/111/debug-change-variable-values.

As for the second part, I guess that could be useful if you want to skip over an assign for instance.

Hanno



Merged from 'Debugger improvements' (idea created on 2017-10-03 10:31:40 by Carlos Freitas), on 2017-10-18 12:10:40 by Kilian Hekhuis
2020-09-15 13-07-23
Kilian Hekhuis
mvp_badge
MVP

And the second one exists as well, so I'm merging this.



Merged from 'Debugger improvements' (idea created on 2017-10-03 10:31:40 by Carlos Freitas), on 2017-10-18 12:10:40 by Kilian Hekhuis
2020-09-15 13-07-23
Kilian Hekhuis
mvp_badge
MVP
Merged this idea with 'Debugger improvements' (created on 2017-10-03 10:31:40 by Carlos Freitas)

Hey Pedro,

This is the same as "Skip back in the debugger":

https://www.outsystems.com/ideas/1280/Skip+back+in+the+debugger?IsFromAdvancedSearch=True


Right? Can I merge them?

Merged this idea with 'Set "Next action" and allow to go back in the debugger' (created on 25 Jan 2013 14:11:11 by Breno Nico)

Miss two things in debug: back button, to skip back to the previous point; and a  way to change values on the variable, input parameters, records, records list...



This comment was:
- originally posted on idea 'Set "Next action" and allow to go back in the debugger' (created on 25 Jan 2013 by Breno Nico)
- merged to idea 'Set Execution Step in Debug Mode' on 12 Nov 2018 11:29:11 by Vasco Pessanha
2021-06-07 12-32-43
Pedro Costa
Champion
Return to a selected point and enable to change the values of variables in debug mode.

Merged from 'Return to a selected point and enable to change the values of variables in debug mode' (idea created on 2014-12-02 21:38:17 by Pedro Costa), on 2014-12-18 08:58:32 by Gonçalo Borrêga

This comment was:
- originally posted on idea 'Set "Next action" and allow to go back in the debugger' (created on 25 Jan 2013 by Breno Nico)
- merged to idea 'Set Execution Step in Debug Mode' on 12 Nov 2018 11:29:11 by Vasco Pessanha
Great idea!

This comment was:
- originally posted on idea 'Set "Next action" and allow to go back in the debugger' (created on 25 Jan 2013 by Breno Nico)
- merged to idea 'Set Execution Step in Debug Mode' on 12 Nov 2018 11:29:11 by Vasco Pessanha
2016-11-21 23-23-05
Gonçalo Borrêga
Merged this idea with 'Return to a selected point and enable to change the values of variables in debug mode' (created on 2014-12-02 21:38:17 by Pedro Costa)

This comment was:
- originally posted on idea 'Set "Next action" and allow to go back in the debugger' (created on 25 Jan 2013 by Breno Nico)
- merged to idea 'Set Execution Step in Debug Mode' on 12 Nov 2018 11:29:11 by Vasco Pessanha

Hey Breno,

Regarding changing variables' values there is already an older idea for this:
https://www.outsystems.com/ideas/111/%5bDebug%5d+Change+variable+values?IsFromAdvancedSearch=True

I will change the title of your idea so that we can follow up the "Skip back in the debugger" part independently.

Thanks for your idea



This comment was:
- originally posted on idea 'Set "Next action" and allow to go back in the debugger' (created on 25 Jan 2013 by Breno Nico)
- merged to idea 'Set Execution Step in Debug Mode' on 12 Nov 2018 11:29:11 by Vasco Pessanha
Merged this idea with 'Skip back in the debugger' (created on 12 Mar 2018 19:35:43 by Jon Mounteer)

This comment was:
- originally posted on idea 'Set "Next action" and allow to go back in the debugger' (created on 25 Jan 2013 by Breno Nico)
- merged to idea 'Set Execution Step in Debug Mode' on 12 Nov 2018 11:29:11 by Vasco Pessanha

I have found that in many cases when I am debugging I will see a value change, but I missed what caused that value to change. It would be extremely helpful to me if there was an option to skip back so I can see where or what caused the value to update. Has anyone else ran into the same issue where they have have to keep starting over and over again and again in the debugger because they can't skip back a step?



This comment was:
- originally posted on idea 'Skip back in the debugger' (created on 12 Mar 2018 by Jon Mounteer)
- merged to idea 'Advanced features in debug' on 12 Nov 2018 11:19:29 by Vasco Pessanha


This comment was:
- originally posted on idea 'Set "Next action" and allow to go back in the debugger' (created on 25 Jan 2013 by Breno Nico)
- merged to idea 'Set Execution Step in Debug Mode' on 12 Nov 2018 11:29:11 by Vasco Pessanha

Hi.

It sounds like Visual Studio debugger. Right?

I'll appreciate too.



This comment was:
- originally posted on idea 'Skip back in the debugger' (created on 12 Mar 2018 by Jon Mounteer)
- merged to idea 'Advanced features in debug' on 12 Nov 2018 11:19:29 by Vasco Pessanha


This comment was:
- originally posted on idea 'Set "Next action" and allow to go back in the debugger' (created on 25 Jan 2013 by Breno Nico)
- merged to idea 'Set Execution Step in Debug Mode' on 12 Nov 2018 11:29:11 by Vasco Pessanha
Changed the category to
Debugger


This comment was:
- originally posted on idea 'Skip back in the debugger' (created on 12 Mar 2018 by Jon Mounteer)
- merged to idea 'Advanced features in debug' on 12 Nov 2018 11:19:29 by Vasco Pessanha


This comment was:
- originally posted on idea 'Set "Next action" and allow to go back in the debugger' (created on 25 Jan 2013 by Breno Nico)
- merged to idea 'Set Execution Step in Debug Mode' on 12 Nov 2018 11:29:11 by Vasco Pessanha

Not sure if this would be possible with Java stack, but i second this idea. It would be helpful.



This comment was:
- originally posted on idea 'Skip back in the debugger' (created on 12 Mar 2018 by Jon Mounteer)
- merged to idea 'Advanced features in debug' on 12 Nov 2018 11:19:29 by Vasco Pessanha


This comment was:
- originally posted on idea 'Set "Next action" and allow to go back in the debugger' (created on 25 Jan 2013 by Breno Nico)
- merged to idea 'Set Execution Step in Debug Mode' on 12 Nov 2018 11:29:11 by Vasco Pessanha

Nice also to be able to alter variable values during single-stepping so that you can control flow



This comment was:
- originally posted on idea 'Skip back in the debugger' (created on 12 Mar 2018 by Jon Mounteer)
- merged to idea 'Advanced features in debug' on 12 Nov 2018 11:19:29 by Vasco Pessanha


This comment was:
- originally posted on idea 'Set "Next action" and allow to go back in the debugger' (created on 25 Jan 2013 by Breno Nico)
- merged to idea 'Set Execution Step in Debug Mode' on 12 Nov 2018 11:29:11 by Vasco Pessanha
Merged this idea with '[Debug] Set "Next action"' (created on 13 May 2010 08:46:11 by Gonçalo Borrêga)

This comment was:
- originally posted on idea 'Set "Next action" and allow to go back in the debugger' (created on 25 Jan 2013 by Breno Nico)
- merged to idea 'Set Execution Step in Debug Mode' on 12 Nov 2018 11:29:11 by Vasco Pessanha
2016-11-21 23-23-05
Gonçalo Borrêga
While debugging allow to "move the cursor" in order to set the next executable action in the flow, allowing for instance coming out of a foreach cycle

This comment was:
- originally posted on idea '[Debug] Set "Next action"' (created on 13 May 2010 by Gonçalo Borrêga)
- merged to idea 'Skip back in the debugger' on 12 Nov 2018 11:23:36 by Vasco Pessanha


This comment was:
- originally posted on idea 'Set "Next action" and allow to go back in the debugger' (created on 25 Jan 2013 by Breno Nico)
- merged to idea 'Set Execution Step in Debug Mode' on 12 Nov 2018 11:29:11 by Vasco Pessanha
2020-12-08 09-54-09
Evert van der Zalm
mvp_badge
MVP


Sounds great to me!

Now that you can prefent it by setting a maximum iterations but for this is done we first need to break te current debug (most of time you noticy it afterwards:) ) , set the value, run, debug and set the value back.


This comment was:
- originally posted on idea '[Debug] Set "Next action"' (created on 13 May 2010 by Gonçalo Borrêga)
- merged to idea 'Skip back in the debugger' on 12 Nov 2018 11:23:36 by Vasco Pessanha


This comment was:
- originally posted on idea 'Set "Next action" and allow to go back in the debugger' (created on 25 Jan 2013 by Breno Nico)
- merged to idea 'Set Execution Step in Debug Mode' on 12 Nov 2018 11:29:11 by Vasco Pessanha
When debugging it was nice that we can go back/Forward to another step and change the values of variables

Merged from 'Can Navigate Back/forward in Debug + Change Variables' (idea created on 2013-04-11 12:15:38 by Pedro Trigo), on 2014-01-24 11:36:19 by Gonçalo Borrêga

This comment was:
- originally posted on idea '[Debug] Set "Next action"' (created on 13 May 2010 by Gonçalo Borrêga)
- merged to idea 'Skip back in the debugger' on 12 Nov 2018 11:23:36 by Vasco Pessanha


This comment was:
- originally posted on idea 'Set "Next action" and allow to go back in the debugger' (created on 25 Jan 2013 by Breno Nico)
- merged to idea 'Set Execution Step in Debug Mode' on 12 Nov 2018 11:29:11 by Vasco Pessanha
2016-11-21 23-23-05
Gonçalo Borrêga
Merged this idea with 'Can Navigate Back/forward in Debug + Change Variables' (created on 2013-04-11 12:15:38 by Pedro Trigo)

This comment was:
- originally posted on idea '[Debug] Set "Next action"' (created on 13 May 2010 by Gonçalo Borrêga)
- merged to idea 'Skip back in the debugger' on 12 Nov 2018 11:23:36 by Vasco Pessanha


This comment was:
- originally posted on idea 'Set "Next action" and allow to go back in the debugger' (created on 25 Jan 2013 by Breno Nico)
- merged to idea 'Set Execution Step in Debug Mode' on 12 Nov 2018 11:29:11 by Vasco Pessanha
Merged this idea with 'Reverse Debuging' (created on 06 Nov 2013 14:09:07 by Rui Félix)
In some cases, extra effort must be spend while debugging or preparing the debug conditions. 
It would be great if reverse debugging existed in the OutSystems platform.

I know this feature is like reaching for the stars, but then again, that's why the 'Ideas' are for. :) 


This comment was:
- originally posted on idea 'Reverse Debuging' (created on 06 Nov 2013 by Rui Félix)
- merged to idea 'Set Execution Step in Debug Mode' on 05 Dec 2018 17:34:01 by Vasco Pessanha
2016-11-21 23-23-05
Gonçalo Borrêga
What a great idea



This comment was:
- originally posted on idea 'Reverse Debuging' (created on 06 Nov 2013 by Rui Félix)
- merged to idea 'Set Execution Step in Debug Mode' on 05 Dec 2018 17:34:01 by Vasco Pessanha
2019-11-14 11-05-00
Grazina
Staff
https://thecodinglove.com/post/56130208587/when-debugging-is-easier-than-expected

This comment was:
- originally posted on idea 'Reverse Debuging' (created on 06 Nov 2013 by Rui Félix)
- merged to idea 'Set Execution Step in Debug Mode' on 05 Dec 2018 17:34:01 by Vasco Pessanha
Merged this idea with 'Back step Breakpoint' (created on 15 Nov 2018 22:07:58 by Rodolfo Póvoa Leal)

Several times we pass from some point in the breakpoint we would like to go back to analyze some information or redo some logic. Similar to the backward functionality that is available in Visual Studio (https://www.reddit.com/r/csharp/comments/7iav0w/step_back_while_debugging_in_visual_studio/), but I could go back to any step at the point of interruption.


Expectation in OutSystems:


Example is VS:

https://g.redditmedia.com/7rwx9Y-Pz7c5wXTzfqtaPj1S8JKE9kzrPB_Nddv7UsU.gif?fm=mp4&mp4-fragmented=false&s=cd40966961b2ce17e875ab8a22a38685

Best regards

R.P



This comment was:
- originally posted on idea 'Back step Breakpoint' (created on 15 Nov 2018 by Rodolfo Póvoa Leal)
- merged to idea 'Set Execution Step in Debug Mode' on 17 Dec 2018 17:08:11 by Vasco Pessanha

Yeah, would be a nice feature.



This comment was:
- originally posted on idea 'Back step Breakpoint' (created on 15 Nov 2018 by Rodolfo Póvoa Leal)
- merged to idea 'Set Execution Step in Debug Mode' on 17 Dec 2018 17:08:11 by Vasco Pessanha
Merged this idea with 'Ability to move the running thread....' (created on 19 Mar 2019 16:10:59 by Sienna)

I suspect this may not be possible within Outsystems (depending how it has been designed), but it would be handy to be able to drag a running thread to an element so that it runs from there.

For example, if you wanted to omit a screen action that you knew wasn't working properly, you could put a break before the screen action and then once the active focus was on that break, you could drag it to the element in the flow beneath the broken action so that the broken action was bypassed.

It would also mean you could test switches and if statements by dragging the active focus to the first element in the thread of the if statement or switch that you wanted to test.



This comment was:
- originally posted on idea 'Ability to move the running thread....' (created on 19 Mar 2019 by Sienna)
- merged to idea 'Set Execution Step in Debug Mode' on 19 Mar 2019 16:31:42 by Vasco Pessanha
Merged this idea with 'Be able to step back while debugging' (created on 23 Oct 2019 21:41:19 by Alan Santos)

Hi All,


I'm wondering if it would be possible to step back while you're debugging your code, and if yes, to change some values of variables to see the results of changes without having the need to publishing, be with F5 or in your personal area.


Cheers



This comment was:
- originally posted on idea 'Be able to step back while debugging' (created on 23 Oct 2019 by Alan Santos)
- merged to idea 'Set Execution Step in Debug Mode' on 15 Feb 2021 13:01:55 by Vasco Pessanha
Changed the category to
Debugger


This comment was:
- originally posted on idea 'Be able to step back while debugging' (created on 23 Oct 2019 by Alan Santos)
- merged to idea 'Set Execution Step in Debug Mode' on 15 Feb 2021 13:01:55 by Vasco Pessanha
2019-11-12 17-31-26
Justin James
mvp_badge
MVP
Merged this idea with 'Outsystem Service Studio->Intellitrace->Debugging->Stepback option' (created on 27 Apr 2020 02:34:31 by Anand Jayaraman)

This comment was:
- originally posted on idea 'Be able to step back while debugging' (created on 23 Oct 2019 by Alan Santos)
- merged to idea 'Set Execution Step in Debug Mode' on 15 Feb 2021 13:01:55 by Vasco Pessanha

It would be very useful to have a step back with Intellitrace in Visual Studio like option in Outsystems Service Studio.



This comment was:
- originally posted on idea 'Outsystem Service Studio->Intellitrace->Debugging->Stepback option' (created on 27 Apr 2020 by Anand Jayaraman)
- merged to idea 'Be able to step back while debugging' on 28 Apr 2020 18:27:08 by Justin James


This comment was:
- originally posted on idea 'Be able to step back while debugging' (created on 23 Oct 2019 by Alan Santos)
- merged to idea 'Set Execution Step in Debug Mode' on 15 Feb 2021 13:01:55 by Vasco Pessanha
2020-04-15 12-37-36
Daniël Kuhlmann
mvp_badge
MVP
Merged this idea with 'Step Back during Debugging' (created on 23 Jun 2022 06:10:50 by Abhishek Sen)

hiii

i worked on outsystem its too user friendly but i relized when i debug the code that time i could not perform step back suppose i missed any line debug then i cant go back i have to start again so i think it should be update, so that we can easily move pointer to previous step ..

'Thanks'