I enabled turbomode in the isolated code and the mixed up data is shown up. I was able to catch debug code. Did not crash.
____ _ | __|___ ___ ___ _ _|_|___ ___ | __|_ -| . | _| | | | | . | |____|___| _|_| |___|_|_|_|___| |_| espruino.com 1v96 (c) 2017 G.Williams > =undefined >save(); =undefined Compacting Flash... Calculating Size... Writing.. Compressed 114368 bytes to 26882 pong Connected: 192.168.68.158 ["AT+CIPSTART=0,\"UDP\",\"255.255.255.255\",7077,7077,2\r\n" ] "0,CONNECT\r\n\r\nOK\r\n" ] "\r\n+IPD,0,36,192.168.68.13,45962:{\"type\":\"SYS\",\"name\":\"_M\",\"cfg\":187}" UDP Msg: 192.168.68.13:45962 - {"type":"SYS","name":"_M","cfg":187} OK:187 ] "\r\n+IPD,0,36,192.168.68.13,45962:{\"typ" UDP Msg: 192.168.68.13:45962 - {"typ ERR: UPD packet not JSON, ignore UDP Msg: 101.34.58.34:22867 - ,"name":"_M","cfg":187} ERR: UPD packet not JSON, ignore ] "\r\n+IPD,0,36,192.168.68.13,45962:{\"type\":\"SYS\",\"name\":\"_M\",\"cfg\":187}" UDP Msg: 192.168.68.13:45962 - {"type":"SYS","name":"_M","cfg":187} OK:187 ] "\r\n+IPD,0,36,192.168.68.13,45962:{\"type\":\"SYS\",\"name\":\"_M\",\"cfg\":187}" UDP Msg: 192.168.68.13:45962 - {"type":"SYS","name":"_M","cfg":187} OK:187 ] "\r\n+IP" ] "D,0,36,192.168.68.13,45962:{\"type\":\"SYS\",\"name\":\"_M\",\"cfg\":187}" UDP Msg: 192.168.68.13:45962 - {"type":"SYS","name":"_M","cfg":187} OK:187 ] "\r\n+IPD,0,36,192.168.68.13,45962:{\"type\":\"SYS\",\"name\":\"_M\",\"cfg\":187}" UDP Msg: 192.168.68.13:45962 - {"type":"SYS","name":"_M","cfg":187} OK:187 ] "\r\n+IPD,0,36,192.168.68.13,45962:{\"type\":\"SYS\",\"name\":\"_M\",\"cfg\":187}" UDP Msg: 192.168.68.13:45962 - {"type":"SYS","name":"_M","cfg":187} OK:187 ] "\r\n+IPD,0,36,192.168.68.13,45962:{\"type\":\"SYS\",\"name\":\"_M\",\"cfg\":187}" UDP Msg: 192.168.68.13:45962 - {"type":"SYS","name":"_M","cfg":187} OK:187 ] "\r\nIPD,0,36,192.168.68.13,45962:{\"type\":\"SYS\",\"name\":\"_M\",\"cfg\":187}" ] "\r\n+IPD,0,36,192.168.68.13,45962:{\"type\":\"SYS\",\"name\":\"_M\",\"cfg\":187}" UDP Msg: 192.168.68.13:45962 - {"type":"SYS","name":"_M","cfg":187} OK:187 ] "\r\n+IPD,0,36,192.168.68.13,45962:{\"type\":\"SYS\",\"name\":\"_M\",\"cfg\":187}" UDP Msg: 192.168.68.13:45962 - {"type":"SYS","name":"_M","cfg":187} OK:187 ] "\r\n+IPD,0,36,192.168.68.13,45962:{\"type\":\"SYS\",\"name\":\"_M\",\"cfg\":187}" UDP Msg: 192.168.68.13:45962 - {"type":"SYS","name":"_M","cfg":187} OK:187 ] "\r\n+IPD,0,36,192.168.68.13,45962:{\"type\":\"SYS\",\"name\":\"_M\",\"cfg\":187}" UDP Msg: 192.168.68.13:45962 - {"type":"SYS","name":"_M","cfg":187} OK:187 ] "\r\n+IPD,0,36,192.168.68.13,45962:{\"type\":\"SYS\"" UDP Msg: 192.168.68.13:45962 - {"type":"SYS" ERR: UPD packet not JSON, ignore UDP Msg: 44.34.110.97:25965 - "_M","cfg":187} ERR: UPD packet not JSON, ignore ] "\r\n+IPD,0,36,192.168.68.13,45962:{\"type\":\"SYS\",\"name\":\"_M\",\"cfg\":187}" UDP Msg: 192.168.68.13:45962 - {"type":"SYS","name":"_M","cfg":187} OK:187 ] "\r\n+IPD,0,36,192.168.68.13,45962:{\"type\":\"SYS\",\"name\":\"_M\",\"cfg\":187}" UDP Msg: 192.168.68.13:45962 - {"type":"SYS","name":"_M","cfg":187} OK:187 ] "\r\n+IPD,0,36,192.168.68.13,45962:{\"type\":\"SYS\",\"name\":\"_M\",\"cfg\":187}" UDP Msg: 192.168.68.13:45962 - {"type":"SYS","name":"_M","cfg":187} OK:187 ] "\r\n+IPD,0,36,192.168.68.13,45962:{\"type\":\"SYS\",\"name\":\"_M\",\"cfg\":187}" UDP Msg: 192.168.68.13:45962 - {"type":"SYS","name":"_M","cfg":187} OK:187 ] "\r\n+IPD,0,36,192.168.68.13,45962:{\"type\":\"SYS\",\"name\":\"_M\",\"cfg\":187}" UDP Msg: 192.168.68.13:45962 - {"type":"SYS","name":"_M","cfg":187} OK:187 ] "\r\n+IPD,0,36,192.168.68.13,45962:{\"type\":\"SYS\",\"name\":\"_M\",\"cfg\":187}" UDP Msg: 192.168.68.13:45962 - {"type":"SYS","name":"_M","cfg":187} OK:187 ] "\r\n+IPD,0,36,192.168.68.13,45962:{\"type\":\"SYS\",\"name\":\"_M\",\"cfg\":187}" UDP Msg: 192.168.68.13:45962 - {"type":"SYS","name":"_M","cfg":187} OK:187 ] "\r\n+IPD,0,36,192.168.68.13,45962:{\"type\":\"SYS\",\"name\":\"_M\",\"cfg\":187}" UDP Msg: 192.168.68.13:45962 - {"type":"SYS","name":"_M","cfg":187} OK:187 ] "\r\n+IPD,0,36,192.168.68.13,45962:{\"type\":\"SYS\",\"name\":\"_M\",\"cfg\":187}" UDP Msg: 192.168.68.13:45962 - {"type":"SYS","name":"_M","cfg":187} OK:187
@Sacha started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I enabled turbomode in the isolated code and the mixed up data is shown up. I was able to catch debug code. Did not crash.