RyanC
Member
Hi All,
Does anyone know why I cannot get some crash log using try and catch statements. My phone just says the "game has stopped" that's all.
Any help greatly appreciated!
The only log is in the GM output that says: Resizing swap chain...Socket timeout connecting, but I have increased timeout to network_set_config(network_config_connect_timeout, 12000);
Does anyone know why I cannot get some crash log using try and catch statements. My phone just says the "game has stopped" that's all.
Any help greatly appreciated!
GML:
show_message_async("socket exists")
var a = 0;
try
{
CT = network_connect_raw(socket, "app-72105186-676f-4dc7-9d16-2230ffe19298.cleverapps.io", 10892); // TCP
show_message_async("CT = " +string(CT)) // outputs -1 before crashing but works on some 4G networks and always works on wifi.
// 4G vodafone works
// 4G EE crashes
// 4G usb tethering to PC on EE doesn't connect & doesn't crash so quickly.
}
catch(_exception)
{
++a;
show_debug_message (_exception.message);
show_debug_message (_exception.longMessage);
show_debug_message (_exception.script);
show_debug_message (_exception.stacktrace);
}
finally
{
show_debug_message ("a = " + string(a));
show_debug_message ("socket = " + string(socket))
}
Last edited: