hello Ragnar,
I had met a small issue in the debugging model in editor2. I’m not sure if it is an editor or engine issue. You may take a look at the details.
The debug.traceback with parameter will return a nil in the debugging model in the editor2. But the default paramter(non parameter from user) does work correctly. When directly run the game without debugger, then the debug.traceback with parameter does work correctly.
According to the console result with script line number, it looks like the non parameter call directly print the result on the console instead of returning the string in debugging model in the editor2.
Using “Ctrl+B” to run without debugging, then the result is corect now.
The manual says that it will return a string. Is there any special handling in the debugging model?