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. Web Development
  3. how to debug script file?

how to debug script file?

Scheduled Pinned Locked Moved Web Development
debugginghelptoolstutorialquestion
4 Posts 2 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.
  • H Offline
    H Offline
    HeartFriend
    wrote on last edited by
    #1

    i have a vc project in which i call the function in a script file(test.cfg), it's a jscript file, now i met a problem, so i wanna debug the script file, but i don't know how to do this, i add debugger in the file, but it doesn't work. can anyone help me?thanks in advance

    C 1 Reply Last reply
    0
    • H HeartFriend

      i have a vc project in which i call the function in a script file(test.cfg), it's a jscript file, now i met a problem, so i wanna debug the script file, but i don't know how to do this, i add debugger in the file, but it doesn't work. can anyone help me?thanks in advance

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      I seem to recall putting lots of message boxes to screen when I needed to debug script files. Christian Graus - Microsoft MVP - C++

      H 1 Reply Last reply
      0
      • C Christian Graus

        I seem to recall putting lots of message boxes to screen when I needed to debug script files. Christian Graus - Microsoft MVP - C++

        H Offline
        H Offline
        HeartFriend
        wrote on last edited by
        #3

        hi, Christian Graus, thanks for yor reply. how could i pop up a message dialog in jscript? which function should i call? by the way i call the script function in this way. this might be in another thread or process, are u sure popup message dialog works in this case? CComPtr spScript; ..... CComDispatchDriver spDisp; spScript->GetScriptDispatch(scriptfilename, &spDisp); spDisp.Invoke1(L"fun1", &v);

        C 1 Reply Last reply
        0
        • H HeartFriend

          hi, Christian Graus, thanks for yor reply. how could i pop up a message dialog in jscript? which function should i call? by the way i call the script function in this way. this might be in another thread or process, are u sure popup message dialog works in this case? CComPtr spScript; ..... CComDispatchDriver spDisp; spScript->GetScriptDispatch(scriptfilename, &spDisp); spDisp.Invoke1(L"fun1", &v);

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          HeartFriend wrote: how could i pop up a message dialog in jscript? which function should i call? From memory, it's alert("message"); HeartFriend wrote: this might be in another thread or process, are u sure popup message dialog works in this case? No, I'm not. Christian Graus - Microsoft MVP - C++

          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