mostafa / goja_debugger Goto Github PK
View Code? Open in Web Editor NEWGoja debugger's CLI frontend
License: GNU Affero General Public License v3.0
Goja debugger's CLI frontend
License: GNU Affero General Public License v3.0
Hi, @mostafa . I read the code and I found the deubgger is hold on very time the pc
is update and if the file and the line matched, this will throw a break reason. Am I right?
But there are some common cases that one simple line will be compiled into multiple expressions. For example:
a = 0
The compiler will compile the code into three express:
compileExpression: [*ast.AssignExpression] &{= 0xc000601a70 0xc000379590}
compileExpression: [*ast.Identifier] &{a 1}
compileExpression: [*ast.NumberLiteral] &{3 0 0}
This will lead to that when the pc
becomes from 1 to 3, the debugger will be broken for 3 times on the same breakpoint - line 1.
Do you have any advice for solve the problem?
Getting the following build error
go: finding github.com/dop251/goja latest
build github.com/dop251/goja: cannot load github.com/dop251/goja/parser: module github.com/dop251/goja@latest found (v0.0.0-20220516123900-4418d4575a41, replaced by ../goja), but does not contain package github.com/dop251/goja/parser
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.