Ranguna / LOVEDEBUG

LoveDebug - A whole new way of debugging your game
MIT License
94 stars 8 forks source link

Type "clear" on command line cause crash #21

Open DirtyDocFly opened 4 years ago

DirtyDocFly commented 4 years ago

Steps to reproduce :

Observed : The application crash (see the trace) Expected : The application dont crash

Trace :

cls Error: lovedebug.lua:146: bad argument #1 to 'print' (string expected, got nil) stack traceback:

[C]: in function 'print' lovedebug.lua:146: in function 'onTop' lovedebug.lua:804: in function [C]: in function 'xpcall'

Ranguna commented 4 years ago

I'd love to help and solve this issue but I've been disconnected from the LOVE community for a long time. Usually bugs like these are caused when a new version of LOVE is released.

Feel free to do a PR though.