Closed raphael-sys closed 1 year ago
If it is acceptable that the state is not correct, then this is a small and easy change. However, keeping the state correct, will be difficult and -- in fact -- not change anything.
If by state you mean runtime variables, then no, I would not expect the state to be 'saved'. On the contrary I would expect that the user changes some things and the runs from some point in the script. This is also the reason why this could only work for scripts (and yes, only if the script was run up to the relevant point beforehand).
DESCRIPTION
What does your feature request improve on? Please describe. When debugging a certain section it would be very useful to be able to run the program from a certain starting point. Obviously this would only work for scripts and would add value to the script data type.
Describe the solution you'd like Besides the
run
command I would expect to see arun from cursor
command. This could also be an option when right clicking in the code or a graphical option on the left side column where the line numbers are.Additional context
(Do not write below this line)
DEVS' SECTION
ANALYSIS
This requires a set of changes:
void Script::openScript(string& _sScriptFileName)
as well as the command line interface likestart SCRIPT -set atline=LINE
SHIFT+F5
IMPLEMENTATION STEPS
(see also our Wiki for implementation guidelines)
DOCUMENTATION STEPS
(see also our Wiki for further information)
*.NHLP
and*.NDB
files, if needed)*.NLNG
files, if needed)PULL REQUEST