errors

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
User avatar
Pliskin09
Citizen
Posts: 89
Joined: Fri Jul 24, 2009 8:30 am

errors

Post by Pliskin09 »

hey guys. i want to somehow print stuff to read (values of variables) but the game crashes before anything is draw (i want to print var's to figure out whats happening).


how can i do this..?
User avatar
rude
Administrator
Posts: 1052
Joined: Mon Feb 04, 2008 3:58 pm
Location: Oslo, Norway

Re: errors

Post by rude »

Anything useful in stdout.txt or stderr.txt? (If you're on Windows)
User avatar
Pliskin09
Citizen
Posts: 89
Joined: Fri Jul 24, 2009 8:30 am

Re: errors

Post by Pliskin09 »

nop; the error one displays exactly what the default blue love error screen shows, and the stdout shows everything initiating, then quiting. (Where the error occurs i guess huh). nothing in between
Arthurio
Prole
Posts: 8
Joined: Sun Jul 12, 2009 7:12 pm

Re: errors

Post by Arthurio »

well what happens if you put print("debug1") right after function load() ? ...
User avatar
Pliskin09
Citizen
Posts: 89
Joined: Fri Jul 24, 2009 8:30 am

Re: errors

Post by Pliskin09 »

something magical :P (it works).

thanks :death:
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 97 guests