2016-11-21 23-23-05
Gonçalo Borrêga
[Debug] Change variable values
5893
Views
66
Comments
On our RadarOn our Radar
Debugger
Allow changing variable values while debugging

This is really necessary.
It would be good to have, after hitting a breakpoint, while inspecting variables, input parameters, etc... the chance of setting, force, a new value, using Debugger Pane to edit.

Merged from 'Set Var/Params Values in Debug Mode' (idea created on 2010-08-25 10:00:58 by Pedro Ávila), on 2011-03-26 17:28:36 by Rodrigo Castelo
Yes, please!

Merged from 'Set Var/Params Values in Debug Mode' (idea created on 2010-08-25 10:00:58 by Pedro Ávila), on 2011-03-26 17:28:36 by Rodrigo Castelo
In some cases it would be usefull, being able to change variable contents directly in the debugger. Which would make analysis and trial/error testing much easier. Ie. when performing complex calculations, such as prices.

Merged from 'Edit variables in the debugger' (idea created on 2012-04-26 20:53:50 by enigma), on 2012-06-11 23:00:05 by Gonçalo Borrêga
I definitely want this very bad. Most debuggers of other vendors can do this for years. Please pick up this idea
Any word from OutSystems on this?  Debugging is very difficult without the ability to change values at runtime.
2016-04-21 20-09-55
J.
 
MVP
can anyone explain why it's a ood idea to change variables during a debugging?
this is altering a testcase and invalidate everything before the change imho.



It invalidates only the probable behavioral test case. You can use it to test against edge cases. For example, right now I am testing some exception handling stuff, but I cannot trigger the exception without some unforeseen circumstance occurring. It would be far easier to be able to simulate myself down that path rather than wait for it to happen in production - and in lieu of a great way to perform unit testing in OS, this would be an easy way to inject variables representative of a hard-to-simulate edge case.

This can made debugging more easier in some scenarios

Great idea,it would be a great help.

Hi Team,

I recently started work on Outsystems . I am from Java Background.  I saw debugging not similar like java i  mean we can not change the variable on the fly to test flow. So i think need to improve this.

Thanks,

Vishal




Merged from 'Need to improve debug' (idea created on 2017-12-21 14:44:48 by VISHAL LAKHMAPURKAR), on 2017-12-22 13:52:07 by J.
2014-02-07 17-02-43
Vasco Pessanha

Hi Vishal,

This is the same as this one right?

https://www.outsystems.com/ideas/111/debug-change-variable-values

Cheers!



Merged from 'Need to improve debug' (idea created on 2017-12-21 14:44:48 by VISHAL LAKHMAPURKAR), on 2017-12-22 13:52:07 by J.
2016-04-21 20-09-55
J.
 
MVP

tbh, changing variables is not really debugging, just an alternative way of unit testing,



Merged from 'Need to improve debug' (idea created on 2017-12-21 14:44:48 by VISHAL LAKHMAPURKAR), on 2017-12-22 13:52:07 by J.

I'll glad.

In complex process, with long time debugging session, can be helpfull.

Merged this idea with 'Set Var/Params Values in Debug Mode' (created on 2010-08-25 10:00:58 by Pedro Ávila)
Merged this idea with 'Enhanced Debugging Area' (created on 2018-04-27 12:25:21 by Pradeep Dubey)

In Service Studio, Can we have some kind of enhanced debugging area where we can play with the values at debug time? I think it would be easy to achieve the goal of the assignment.



Merged from 'Enhanced Debugging Area' (idea created on 2018-04-27 12:25:21 by Pradeep Dubey), on 2018-05-02 19:17:52 by Evert van der Zalm
Changed the category to
Debugger
2014-02-07 17-02-43
Vasco Pessanha
Merged this idea with 'Change a value of a variable in debug mode' (created on 09 Jan 2019 01:47:46 by Alexandra Fernandes)

In Service Studio allow a developer to change the value of a variable or a parameter structure in debug mode. This value would be appear in front of the current value.



This comment was:
- originally posted on idea 'Change a value of a variable in debug mode' (created on 09 Jan 2019 by Alexandra Fernandes)
- merged to idea '[Debug] Change variable values' on 09 Jan 2019 09:40:56 by Vasco Pessanha

This is needed indeed. Could make troubleshooting easier.



This comment was:
- originally posted on idea 'Change a value of a variable in debug mode' (created on 09 Jan 2019 by Alexandra Fernandes)
- merged to idea '[Debug] Change variable values' on 09 Jan 2019 09:40:56 by Vasco Pessanha
Changed the category to
Debugger


This comment was:
- originally posted on idea 'Change a value of a variable in debug mode' (created on 09 Jan 2019 by Alexandra Fernandes)
- merged to idea '[Debug] Change variable values' on 09 Jan 2019 09:40:56 by Vasco Pessanha
Merged this idea with 'Change the Variable Value while debugging' (created on 19 Jan 2016 10:27:50 by Rajendra koranga)
Hi How can we change the valu of any variable while debugging. Is it possible in outsystem?






Thanks


This comment was:
- originally posted on idea 'Change the Variable Value while debugging' (created on 19 Jan 2016 by Rajendra koranga)
- merged to idea '[Debug] Change variable values' on 14 Jun 2019 12:28:10 by Fernando Moitinho
13th most liked idea:

https://www.outsystems.com/ideas/111/debug-change-variable-values

J.Ja


This comment was:
- originally posted on idea 'Change the Variable Value while debugging' (created on 19 Jan 2016 by Rajendra koranga)
- merged to idea '[Debug] Change variable values' on 14 Jun 2019 12:28:10 by Fernando Moitinho
Also, Rajendra, you shouldn't post this as an idea, if you have a mere question.

This comment was:
- originally posted on idea 'Change the Variable Value while debugging' (created on 19 Jan 2016 by Rajendra koranga)
- merged to idea '[Debug] Change variable values' on 14 Jun 2019 12:28:10 by Fernando Moitinho
Thanks Justin.

This comment was:
- originally posted on idea 'Change the Variable Value while debugging' (created on 19 Jan 2016 by Rajendra koranga)
- merged to idea '[Debug] Change variable values' on 14 Jun 2019 12:28:10 by Fernando Moitinho
Merged this idea with 'Option to update variable value during debug' (created on 09 Oct 2019 11:14:29 by Mohamed)

Majority of the times we will require to update the variables during a debug session.

If this option can be added it will be a wow feature



This comment was:
- originally posted on idea 'Option to update variable value during debug' (created on 09 Oct 2019 by Mohamed)
- merged to idea '[Debug] Change variable values' on 18 Oct 2019 08:41:34 by Kilian Hekhuis

This idea is already posted multiple times, but I keep pressing the like button on all of them until this is implemented, lol ;)



This comment was:
- originally posted on idea 'Option to update variable value during debug' (created on 09 Oct 2019 by Mohamed)
- merged to idea '[Debug] Change variable values' on 18 Oct 2019 08:41:34 by Kilian Hekhuis

I hope it will be done soon because it helps a lot!



This comment was:
- originally posted on idea 'Option to update variable value during debug' (created on 09 Oct 2019 by Mohamed)
- merged to idea '[Debug] Change variable values' on 18 Oct 2019 08:41:34 by Kilian Hekhuis

Please, this is so useful! Like the old times with Visual Studio! ;)



This comment was:
- originally posted on idea 'Option to update variable value during debug' (created on 09 Oct 2019 by Mohamed)
- merged to idea '[Debug] Change variable values' on 18 Oct 2019 08:41:34 by Kilian Hekhuis

We need it!



This comment was:
- originally posted on idea 'Option to update variable value during debug' (created on 09 Oct 2019 by Mohamed)
- merged to idea '[Debug] Change variable values' on 18 Oct 2019 08:41:34 by Kilian Hekhuis
Merged this idea with 'Value change in debug mode' (created on 03 Aug 2019 19:14:35 by Arkyadeep Bharadwaj)

Allow changing variable values while debugging.like visual studio developers can change the value of variable in outsystem service studio.



This comment was:
- originally posted on idea 'Value change in debug mode' (created on 03 Aug 2019 by Arkyadeep Bharadwaj)
- merged to idea '[Debug] Change variable values' on 18 Oct 2019 08:46:10 by Kilian Hekhuis

Can be merged with:



This comment was:
- originally posted on idea 'Value change in debug mode' (created on 03 Aug 2019 by Arkyadeep Bharadwaj)
- merged to idea '[Debug] Change variable values' on 18 Oct 2019 08:46:10 by Kilian Hekhuis

yes you can



This comment was:
- originally posted on idea 'Value change in debug mode' (created on 03 Aug 2019 by Arkyadeep Bharadwaj)
- merged to idea '[Debug] Change variable values' on 18 Oct 2019 08:46:10 by Kilian Hekhuis
Changed the category to
Debugger


This comment was:
- originally posted on idea 'Value change in debug mode' (created on 03 Aug 2019 by Arkyadeep Bharadwaj)
- merged to idea '[Debug] Change variable values' on 18 Oct 2019 08:46:10 by Kilian Hekhuis

That would be nice.

Merged this idea with 'Edit value when debugging' (created on 14 Feb 2020 06:10:09 by Huyen IT)

Hi guys,

In OutSystems Studio, can i modefine value when debugging like Visual Studio for testing special case?



This comment was:
- originally posted on idea 'Edit value when debugging' (created on 14 Feb 2020 by Huyen IT)
- merged to idea '[Debug] Change variable values' on 14 Feb 2020 13:11:28 by Kilian Hekhuis
Merged this idea with 'In Debug, modify a variable's value' (created on 22 Jan 2020 18:51:41 by Chris Kraack)

Most debuggers allow you to modify a variable's value - that would be a great tool.



This comment was:
- originally posted on idea 'In Debug, modify a variable's value' (created on 22 Jan 2020 by Chris Kraack)
- merged to idea '[Debug] Change variable values' on 14 Feb 2020 13:11:59 by Kilian Hekhuis

Most debuggers allow you to set the next instruction (widget) to execute. Typically stepping back and re-executing a block of code to observe the logic and variables.


This is extremely helpful when you want to repeat a test and see the results. 


(an alternative would be to set up the widgets to loop temporarily)



This comment was:
- originally posted on idea 'In Debug, modify a variable's value' (created on 22 Jan 2020 by Chris Kraack)
- merged to idea '[Debug] Change variable values' on 14 Feb 2020 13:11:59 by Kilian Hekhuis

This idea already exists with over 200 user votes

https://www.outsystems.com/ideas/111/debug-change-variable-values?IsFromAdvancedSearch=True

Better to put a vote on that post.



This comment was:
- originally posted on idea 'In Debug, modify a variable's value' (created on 22 Jan 2020 by Chris Kraack)
- merged to idea '[Debug] Change variable values' on 14 Feb 2020 13:11:59 by Kilian Hekhuis
Merged this idea with 'Changing variables values during debugging' (created on 27 May 2020 13:09:57 by Akshay Puri)

It would be a good idea to let developers change the variables values during debugging. This would be a temporary change for that flow. This can be really helpful.



This comment was:
- originally posted on idea 'Changing variables values during debugging' (created on 27 May 2020 by Akshay Puri)
- merged to idea '[Debug] Change variable values' on 15 Jun 2020 11:33:30 by Daniël Kuhlmann
Merged this idea with 'Option to change variable values while debug' (created on 21 Jun 2020 06:49:33 by Mahender Reddy Chitukula)

Its nice to have to change variable value while debugging.  So developer can go further to test and can be done other changes with a single publish.



This comment was:
- originally posted on idea 'Option to change variable values while debug' (created on 21 Jun 2020 by Mahender Reddy Chitukula)
- merged to idea '[Debug] Change variable values' on 16 Jul 2020 02:52:12 by Justin James
Merged this idea with 'Debugging values change option' (created on 13 Jul 2020 08:54:14 by Shailesh)

This comment was:
- originally posted on idea 'Option to change variable values while debug' (created on 21 Jun 2020 by Mahender Reddy Chitukula)
- merged to idea '[Debug] Change variable values' on 16 Jul 2020 02:52:12 by Justin James

Hi team,

I was a .NET developer before I started outsystems and starting outsystems was very good it is a very powerful platform with some limitations.

In .NET we can change values during debugging session and shift the debug pointer to a previous step also. I would like to suggest if we can do the same in outsystems. 

changing the values during debugging session and shifting the debug pointer to a previous step would make it very easy for developers to debug and monitor.



This comment was:
- originally posted on idea 'Debugging values change option' (created on 13 Jul 2020 by Shailesh)
- merged to idea 'Option to change variable values while debug' on 16 Jul 2020 02:51:44 by Justin James


This comment was:
- originally posted on idea 'Option to change variable values while debug' (created on 21 Jun 2020 by Mahender Reddy Chitukula)
- merged to idea '[Debug] Change variable values' on 16 Jul 2020 02:52:12 by Justin James

Hi! Good idea but I think is duplicated:

https://www.outsystems.com/ideas/9210/option-to-change-variable-values-while-debug?IsFromAdvancedSearch=True



This comment was:
- originally posted on idea 'Debugging values change option' (created on 13 Jul 2020 by Shailesh)
- merged to idea 'Option to change variable values while debug' on 16 Jul 2020 02:51:44 by Justin James


This comment was:
- originally posted on idea 'Option to change variable values while debug' (created on 21 Jun 2020 by Mahender Reddy Chitukula)
- merged to idea '[Debug] Change variable values' on 16 Jul 2020 02:52:12 by Justin James

Hi Luis, 

Sorry for that I didn't saw it was already posted, I had it on my mind so I posted and many people might also have this same idea and they can also post it, if they don't see these posted ideas before.  



This comment was:
- originally posted on idea 'Debugging values change option' (created on 13 Jul 2020 by Shailesh)
- merged to idea 'Option to change variable values while debug' on 16 Jul 2020 02:51:44 by Justin James


This comment was:
- originally posted on idea 'Option to change variable values while debug' (created on 21 Jun 2020 by Mahender Reddy Chitukula)
- merged to idea '[Debug] Change variable values' on 16 Jul 2020 02:52:12 by Justin James
Merged this idea with 'Allow debugger to change variable values' (created on 28 Aug 2020 16:24:02 by Robert Carter)

It would be great to be able to change the values of variables while while debugging. 

This could be double clicking on the variable value in the debugger window which toggles it to be editable.



This comment was:
- originally posted on idea 'Allow debugger to change variable values' (created on 28 Aug 2020 by Robert Carter)
- merged to idea '[Debug] Change variable values' on 29 Aug 2020 06:52:59 by Daniël Kuhlmann

It would be nice to have an evaluation feature at runtime to be possible to test different actions with different values, like many coding IDEs do.

Merged this idea with 'Should be able to change the value of variable while debugging' (created on 25 May 2021 14:20:01 by Yamini Pandya)

we should be able to change variable value real-time while debugging, same as in visual studio for dot net developer or in console while debugging JavaScript in browser



This comment was:
- originally posted on idea 'Should be able to change the value of variable while debugging' (created on 25 May 2021 by Yamini Pandya)
- merged to idea '[Debug] Change variable values' on 26 May 2021 05:35:21 by Daniël Kuhlmann
2016-04-21 20-09-55
J.
 
MVP
Merged this idea with 'Change variable values while debugging' (created on 22 Oct 2021 07:29:42 by Hemant Gaikwad)

Values of variables should be editable at running debug session

Currently it is not possible to change values while debugging.

If we achieve this developer's time will be saved.

Merged this idea with 'manipulating the test values while debugging' (created on 13 Aug 2020 01:51:25 by Praveen Kumar Natarajan)

Hi , 

I have a suggestion, while developers place a break point and launch the application, currently they can stop at a debugger point and add watchers. But will it be possible to provide a facility to edit values while debugging similar to what we have in visual studio. It can help developers to speed up. 

That idea have already been suggested. Consider merge to it

https://www.outsystems.com/ideas/111/debug-change-variable-values 

Regards

Changed the category to
Debugger
Merged this idea with 'Add Debug Shell Option while debugging' (created on 01 May 2023 05:37:07 by Ashish Lonkar)

Hi folks,

Most of the developers of the OutSystems world have prior experience in some traditional programming language like .Net/C# and Java because of which naturally they have worked with the debugger of IDEs like Eclipse and VSCode. 

One of the powerful functionality that these debugger provides is the Debug Shell option (Might be named differently in VSCode), this allows us to try various permutations and combinations for manipulating variables in the current context of debugging session, this drastically reduces the development effort as we don't have to make changes everytime and then run debug again to see what values are being populated after the changes we have made.

This will improve the timely delivery of the application and therefore also goes with the OutSystems agenda of delivering apps faster and effortlessly.

If you want to know more about this functionality just google "Debug Shell in Eclipse".

I have attached a screenshot to highlight the functionality.



Thanks AWL!

This would be helpful for sure, waiting for this.