I am posting this here first in case there was a change in the way of "Step through" debugging in the McLua editor in the Hobby version. Perhaps there was a post some where that noted a change, or there is a bug...
I put this simple function in the McLua and under debug, If I push run, it executes no issues.
But, if I run the debug in the step-through mode, as soon as you hit the F5 key to step through, it crashes the McLua.exe (get the McLue.exe has stopped working). I have also tried putting just the "Testfunc()" by itself and commenting out the rest of the InEditor func. Again it will run with debug run, but not step through.
Can someone put this below func in your McLua editor, and see if you can step through it? I have tried breaks at each line as well, but the crash happens after you exit the function...
function Testfunc()
local inst = mc.mcGetInstance();
mc.mcCntlSetLastError(inst, '*** Testing ***');
end
if (mc.mcInEditor() == 1) then
Testfunc();
end
--Thank you for looking/testing,