PDA

View Full Version : Proper debug support


MartinT
05-15-2009, 03:36 AM
I am currently trying out SUF8 and I am quite surprised that there is no real debugging support. (I'm even more surprised, that as far as I can tell from this forums no users have yet felt the need for one.)
While I think the Debug Window (that better should be called Trace Window) is a nice feature, some proper breakpoints and such could really help with complicated scripts.
So here come my suggestions, purely from a developer point of view :)
* Add the possibility to run a setup directly from the SUF8 GUI.
* Add the option to run/build a debug version of the setup
* Add the possibility to set breakpoints in the lua scripts.

cheers,
Martin

jassing
05-30-2009, 11:00 AM
* Add the possibility to run a setup directly from the SUF8 GUI.
* Add the option to run/build a debug version of the setup
* Add the possibility to set breakpoints in the lua scripts.


This is just my thoughts -- I'm not sure how effective running the scipt in the gui would be - but I can see some debug bennefits to it - must like ams has.

"build a debug version"??? Depending on what you mean; you can do this already. Most of my scripts all start with
if the user passes /debug or /trace
open debug window
if user passes /trace
start trace window
end
end

But you could also use constants & build configs

if "#DEBUG#" == "yes" then
-- do some debug stuff
end

lastly breakpoints would only be useful if you could run it directly in the ui...

Darryl
08-24-2009, 09:26 AM
Thanks for the suggestions/comments.

REF: 18920