Replies: 2 comments
-
|
the following picture show the line and srcPos,but my script code just have 3 lines |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
You should probably have a look at StackFrame.Position() method |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
hi,
i want to add debug function into goja ,and i can't find real line number in compile.* and vm.* file,
in the following code, i get the source code line number if current program srcPos=codeLine, add wait the next command to debug code, is that possible?
Beta Was this translation helpful? Give feedback.
All reactions