10
 Followers
183
 Likes

[Debug] Change variable values

Debugger
On our radar
Allow changing variable values while debugging
Created on 13 May 2010
Comments (18)

This is really necessary.
Merged this idea with 'Set Var/Params Values in Debug Mode' (created on 2010-08-25 10:00:58 by Pedro Ávila)
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.
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.

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.

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 '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




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
views
851
Followers
10