- Edited
How to get the error message in Debugger panel in game?
Sorry, I didn't explain the question clearly. I want to get the error message text shows in the debugger panel, and set the error message text to a Label in game.
- Best Answerset by leonhardt
It's a bit complicated. I haven't tried it, and I can't find anyone who has, but it seems possible.
Look into EditorDebuggerPlugin and maybe EngineDebugger
If it works the same as the tab in the editor, which I think it does, then the message to capture would be "error"
.
Get the engine source code and look at script_editor_debugger.cpp ln:525
to see what the engine is doing when it receives an error.
Note that there's no way this will possibly function in release builds and will likely be very hard to get working even in debug exports.
If you still wanna try and do it then good luck and I hope it isn't a wild goose chase o7 I would understand if not though...