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. alternative to javascript

alternative to javascript

Scheduled Pinned Locked Moved Web Development
csharpvisual-studioquestionjavajavascript
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.
  • B Offline
    B Offline
    brian55
    wrote on last edited by
    #1

    I am using visual studio .net to write some apps. In the past when I wrote applications I used a lot of java script (I have a lot of scripts). I ahve been inlcuding these scripts in VS whhile they work I find it hard to debug them. For example I can't set break points or watch variables. Is there an alternative? I hope this is not a real stupid question....I'm new to this Brian

    S 1 Reply Last reply
    0
    • B brian55

      I am using visual studio .net to write some apps. In the past when I wrote applications I used a lot of java script (I have a lot of scripts). I ahve been inlcuding these scripts in VS whhile they work I find it hard to debug them. For example I can't set break points or watch variables. Is there an alternative? I hope this is not a real stupid question....I'm new to this Brian

      S Offline
      S Offline
      Scott Serl
      wrote on last edited by
      #2

      You can set breakpoints in javascript. Make sure Tools\Options\Debugging\Just-In-Time has Scripts checked in visual studio. Also make sure Tools\Options\Advanced\Disable Script Debugging is NOT checked in Internet Explorer. If it still won't stop at a breakpoint, start your app, then attach to it from the Running Documents tab (next to solution explorer tab when a web page is running).

      B 1 Reply Last reply
      0
      • S Scott Serl

        You can set breakpoints in javascript. Make sure Tools\Options\Debugging\Just-In-Time has Scripts checked in visual studio. Also make sure Tools\Options\Advanced\Disable Script Debugging is NOT checked in Internet Explorer. If it still won't stop at a breakpoint, start your app, then attach to it from the Running Documents tab (next to solution explorer tab when a web page is running).

        B Offline
        B Offline
        brian55
        wrote on last edited by
        #3

        Thanks for the reply. I tiake it then that there is no substitute for java script in .net? Also I made changes you suggested and still cannont get the debugger to stop at a breakpoint or watch a variable in JS. What I could not do was find the running documents tab. Where can I find this? Brian

        S 1 Reply Last reply
        0
        • B brian55

          Thanks for the reply. I tiake it then that there is no substitute for java script in .net? Also I made changes you suggested and still cannont get the debugger to stop at a breakpoint or watch a variable in JS. What I could not do was find the running documents tab. Where can I find this? Brian

          S Offline
          S Offline
          Scott Serl
          wrote on last edited by
          #4

          The running documents tab only shows up after you start the app with debugging (f5) from visual studio. A new tab called 'Running Documents' shows up in the same area as 'Solution Explorer'. Sometimes I can set a break point in the html view and it will stop there, but most of the time I have to go to the running documents tab. You just double click on the entry on the tab page and it opens an editor where you can set break point like the usual way.

          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