Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there any way to get start using state-diagram with building? #68

Open
Mirocos opened this issue Apr 28, 2020 · 2 comments
Open

Is there any way to get start using state-diagram with building? #68

Mirocos opened this issue Apr 28, 2020 · 2 comments

Comments

@Mirocos
Copy link

Mirocos commented Apr 28, 2020

I try to use state-diagram mode to visual something,but I build failed at npm install.
My node is v8.12.0

@greggman
Copy link
Member

The state-diagram is just a demo. It is not designed to be used with your own code. Sorry.

You could try to hack yourself. The problem is there is no way to debug JavaScript from JavaScript. In other words there is no way to pause after each line in JavaScript

I suppose you could try to turn it into a debugging extension

Also, it doesn't show all state, specially for WebGL2. For example it doesn't show uniform buffer objects, queries, sync objects, and I'm sure a few more. It doesn't show all the different texture formats either.

@Mirocos
Copy link
Author

Mirocos commented Jul 20, 2020

The state-diagram is just a demo. It is not designed to be used with your own code. Sorry.

You could try to hack yourself. The problem is there is no way to debug JavaScript from JavaScript. In other words there is no way to pause after each line in JavaScript

I suppose you could try to turn it into a debugging extension

Also, it doesn't show all state, specially for WebGL2. For example it doesn't show uniform buffer objects, queries, sync objects, and I'm sure a few more. It doesn't show all the different texture formats either.

I have a idea to realize this kind of debug. All we need to do is to simulate a simple WebGL2 environment. Actually I do does some try on CPP.

JavaScript also have concept of class, I think is possible to do it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants