How do I check the line and col in a preview.js error?

Get help using Construct 2

Post » Sun Dec 17, 2017 12:00 pm

How do I check the line and col in a preview.js error? I get this error when previewing..

http://localhost:50000/preview.js, line 4798 (col 60)

..and I'd like to look at line 4798, column 60, of preview.js, but where do I find it? I couldn't find it by searching preview.js in the project folder. I'm sure I'll figure out the problem myself if I know how to look at it.

Edit:
Although it doesn't answer the question, I did just find out that in my particular case the problem was that it didn't like that I was using the same layout for multiple event sheets, via a system in which a global variable that decides the game mode decided which sheet would be included for use in that layout. I instead duplicated the layout so that I could just commit one layout to one sheet/mode, and now the error doesn't pop up.
B
16
S
5
G
1
Posts: 62
Reputation: 1,642

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 36 guests