In the Debugger message box, the function buffer.insert_at_cursor expect the length of the message in bytes, but message.length give the length in letters.
this causes non latin text to end early and silently throws:
Gtk-CRITICAL **: gtk_text_buffer_emit_insert: assertion 'g_utf8_validate (text, len, NULL)' failed
Buffer.byteLength(str, "utf8") should be used instead.
In the Debugger message box, the function
buffer.insert_at_cursorexpect the length of the message in bytes, butmessage.lengthgive the length in letters.this causes non latin text to end early and silently throws:
Gtk-CRITICAL **: gtk_text_buffer_emit_insert: assertion 'g_utf8_validate (text, len, NULL)' failedBuffer.byteLength(str, "utf8")should be used instead.