Page 1 of 1

Show Script Debug Information should be checked by default

Posted: Tue Aug 13, 2019 4:53 am
by NearHuscarl
When I write

Code: Select all

Game.DrawLine(pA, pB);
in the update callback

I expect there is a line to be drawn when testing in the map editor, but it's not there and I have to check my code several times before remembering I have to check that option in the Map Debug menu which will be reset everytime I open the Map Editor again.

It would be more sensible to enable that option by default since it causes mild inconvenience when someone uses the debugging drawing methods.

Re: Show Script Debug Information should be checked by default

Posted: Tue Aug 13, 2019 12:52 pm
by JakSparro98
NearHuscarl wrote:
Tue Aug 13, 2019 4:53 am
When I write

Code: Select all

Game.DrawLine(pA, pB);
in the update callback

I expect there is a line to be drawn when testing in the map editor, but it's not there and I have to check my code several times before remembering I have to check that option in the Map Debug menu which will be reset everytime I open the Map Editor again.

It would be more sensible to enable that option by default since it causes mild inconvenience when someone uses the debugging drawing methods.
If you keep the debug dialog open even after the simulation has stopped, your selections will be kept for the next time you test the map.