[Debug] Change variable values

By Goncalo Borrega on 13 May 2010
Allow changing variable values while debugging
Carolina Bessa28 May 2010

This is really necessary.
Pedro Ávila25 Aug 2010
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
Hans Bruins23 Mar 2011
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
enigma26 Apr 2012
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
Eric de Bruin19 Jun 2012
I definitely want this very bad. Most debuggers of other vendors can do this for years. Please pick up this idea
David Zangger7 Apr 2015
Any word from OutSystems on this?  Debugging is very difficult without the ability to change values at runtime.
J.8 Apr 2015
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.



Grayson Udstrand6 Dec (3 days ago)

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.