Error log

Game development with Board Game Arena Studio
Post Reply
User avatar
cora89
Posts: 29
Joined: 14 June 2012, 20:29

Error log

Post by cora89 »

hi,

i have a problem : a function in my javascript receive null in its parameter 'id'.
i have placed console log to see witch one makes a problem but i have no message other than my error.
And nothing is shown on the javascript error log.
So i don't know where's the problem...

I use notepad++ with syntax colored.
Is there any better tool to evaluate my phpfiles and my javascript ?

thx for your help.
User avatar
sourisdudesert
Administrateur
Posts: 4630
Joined: 23 January 2010, 22:02

Re: Error log

Post by sourisdudesert »

Hello,

First you can read practical debugging tips:
http://en.doc.boardgamearena.com/Practi ... face_logic

Maybe you can use "alert" to pause the execution of javascript and check what is happening.

Cheers,
Post Reply

Return to “Developers”