How do I know which line the error occurred in

I run the installed query, but it only prompts a simple run error like the one below:


Because my code is a little long, I have to manually figure out where the error is and that’s hard.
So where do I know exactly where the error is.
Thank!

@kwonder

Looks like it’s flagged at :28 29

Check line 28 of your code and the 29th character in that line.

@Jon_Herke Thanks for your reply.
I guess that’s where it says my array length is 28, but I’m already at 29, so I’m out of array bounds.
Because its error does not seem to indicate the error location, as shown below.

Are you able to post your query? I can help diagnose with some more information about the query and graph schema.

1 Like

@Dan_Barkus Thank you very much!

I have solved that problem. And I just wanted to ask if there was any way to locate the Bug

1 Like