Code Monkey home page Code Monkey logo

Comments (13)

TheCyberCore avatar TheCyberCore commented on August 15, 2024

I would like to add myself to this request. The debugging feature was a quite unique and very good feature.

I'd love to see this feature again!

from jint.

Hooch180 avatar Hooch180 commented on August 15, 2024

Me too.

from jint.

honestegg avatar honestegg commented on August 15, 2024

We had been using this as well. We actually used it to stop executing a script if it was taking too long.

from jint.

DaniilMonin avatar DaniilMonin commented on August 15, 2024

Hello! Do you have any plans to implement debug?

from jint.

sebastienros avatar sebastienros commented on August 15, 2024

Right now I can't commit on this, but if anyone want to create a PR based on the previous implementation I'd be happy to take it in.

from jint.

rolandroos avatar rolandroos commented on August 15, 2024

I added this feature. I'll tell you how in a separate "jint debugger" github.

Baisically, I added += Eventhandler in the engine.
Kindof 3 lines of code.

If you have a separate thread, you can listen to every executed line.
If you do an AutoResetEvent there, you can step-by-step debug all lines, and refer to the executed line.

from jint.

TheCyberCore avatar TheCyberCore commented on August 15, 2024

Thanks alot. I'm looking for the next revision.

from jint.

fvaneijk avatar fvaneijk commented on August 15, 2024

I submitted a PR to add the debug feature see PR #136

from jint.

ZSalloum avatar ZSalloum commented on August 15, 2024

Hi I am new in here.

I tested Jint on few things and I liked it.
However what is missing is the ability to custom debug.
Jint is useful to extend applications, which also requires a mini IDE/Editor with a debugging feature.
This will help those who extend those applications to debug their code.

Looking forward for such a feature.

from jint.

lontivero avatar lontivero commented on August 15, 2024

I am developing a Windows Service that is extended (thx Jint) using javascript and the point is that oftentimes I get TypeErrors and I don't have an easy way to know what was wrong. I think the debugging feature could help.

from jint.

doronguttman avatar doronguttman commented on August 15, 2024

+1 I use Jint as an interpreter for customer's custom code. That way I can allow them to extend the functionality of my application. Often they are baffled when trying to debug their own extensions event with the amount of logs I provide them.
Ideally, I would like to add an option for them to debug their code.

from jint.

rolandroos avatar rolandroos commented on August 15, 2024

I'll upload my debugger soon. Next week.

2015-03-31 1:17 GMT+02:00 doronguttman [email protected]:

+1 I use Jint as an interpreter for customer's custom code. That way I can
allow them to extend the functionality of my application. Often they are
baffled when trying to debug their own extensions event with the amount of
logs I provide them.
Ideally, I would like to add an option for them to debug their code.


Reply to this email directly or view it on GitHub
#25 (comment).

drs. ing. Roland Roos

Roos ICT Architectures
mobile : +31 6 1942 8055
e-mail : [email protected]

from jint.

fvaneijk avatar fvaneijk commented on August 15, 2024

The following branch gives some code on how to add debugging support. Not complete but you should get the general idea.

https://github.com/fvaneijk/jint/tree/addDebugger

Looking forward to see your implementation rolandroos...

from jint.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.