Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. COM
  4. customize script debugger

customize script debugger

Scheduled Pinned Locked Moved COM
debuggingdesignquestionhostingtools
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    alan net
    wrote on last edited by
    #1

    Hi all, I try to design my own script debugger in the basis of ms windows script debug interfaces. But i met some problems. i read one article from MSDN online -- Active Scripting APIs: Add Powerful Custom Debugging to Your Script-Hosting App. First, the author said one rule is imperative to reach, that is to execute your script code one time, then you can set the breakpoints correctly. i debugged the sample attached and that's right. otherwise, the IDebugCodeContext pointer is empty and the breakpoint can't be set enabled. this seems so strange if there are some UI elements or operations in your code. Second, How can i debug one script segment of global code? I changed that sample a little so that global code can directly run not by invoking some named function. I found any breakpoint set in some of global code was invalid. Thanks a lot alan

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups