Luat_2G_RDA_8955 icon indicating copy to clipboard operation
Luat_2G_RDA_8955 copied to clipboard

控制台输出详细报错信息

Open kicer opened this issue 6 years ago • 0 comments

使用assert可以捕获到loadstring的详细报错信息,并通过回调打印出来。

注意,loadstring()加载类似【a=10】这种单条赋值语句时候,需要在后面追加空格字符,以避免报错“malformed number...”。

kicer avatar Dec 19 '18 07:12 kicer