Results 1 to 3 of 3

Thread: watch variable values inside javascript functions

  1. #1
    Join Date
    Jul 2010

    watch variable values inside javascript functions

    Is there any way we can watch variable values inside javascript functions while running through the debugger. I am using javascript along with ASP.net on Visual studio 2010.


  2. #2
    Join Date
    May 2006
    Somewhere behind your screen
    you can add an alert() at any point of the script and watch any var value can't you?
    signature under construction

  3. #3
    Join Date
    Mar 2010
    in most, if not all debuggers, you can set breakpoints to stop script execution at wherever you like in the program. At each breakpoint you can then check the values of all the variables.

    You should also be able to set a 'watch' on a variable and so every time the variable changes value the script stops and you can check the variables value.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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