Results 1 to 4 of 4

Thread: vb6 - OCX: Javascript Engine, debugger, IDE

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2015
    Posts
    1,068

    vb6 - OCX: Javascript Engine, debugger, IDE

    This project uses the C duktape javascript engine and makes it available for use with VB. This includes integration with the debugger protocol so you can set breakpoints and control execution of the js.

    The OCX build further combines a scintinilla based syntax editor with intellisense, cold folding etc for a drop in IDE complete with debugger into your own projects.

    There is also basic integration with VB6 form objects and classes through COM. Using the included generator, it will build a javascript class which represents the COM object and makes it available to the scripts. (not as automatic as the msscript control yet)

    git repo:
    http://sandsprite.com/tools.php?id=23
    Last edited by dz32; Jul 26th, 2023 at 06:18 PM.

  2. #2
    PowerPoster wqweto's Avatar
    Join Date
    May 2011
    Location
    Sofia, Bulgaria
    Posts
    5,156

    Re: vb6 - OCX: Javascript Engine, debugger, IDE

    Looks like a lot of work was put in this project.

    I'm wondering how hard it is to impl Set Next Statement (Ctrl+F9) and Step Out (Ctrl+Shift+F8)? Is there missing a support from the duktape engine for these to get implemented?

    I'm asking this because I find other engines (Lua/LuaJIT) don't offer anything similar to Set Next Statement which is really a powerful way to debug a function call after finding it's returning wrong results -- step back and step into it.

    cheers,
    </wqw>

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2015
    Posts
    1,068

    Re: vb6 - OCX: Javascript Engine, debugger, IDE

    [...]
    Last edited by dz32; Apr 26th, 2019 at 12:06 PM.

  4. #4

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2015
    Posts
    1,068

    Re: vb6 - OCX: Javascript Engine, debugger, IDE

    [...]
    Last edited by dz32; Apr 26th, 2019 at 12:06 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width