JavaScript API variables not visible in debugger?

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2007 04:04 PM
Update: The debugger is running; I missed it at first because it opened into a new window and my immediate reaction to popups kicked in.
The debugger is reporting an error when I reference the function log or the variable companyhome, both of which are part of the API rather than core EMCAScript.
Is there a way to make the debugger aware of API functions, objects, and variables?
The debugger is reporting an error when I reference the function log or the variable companyhome, both of which are part of the API rather than core EMCAScript.
Is there a way to make the debugger aware of API functions, objects, and variables?
Labels:
- Labels:
-
Archive
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2007 04:46 PM
Hi
If you're in the context of your web script when you're using the debugger, then all those API variables should be available. Personally, I do this by hitting the "Break" button and then accessing my script.
Does that help?
Mike
If you're in the context of your web script when you're using the debugger, then all those API variables should be available. Personally, I do this by hitting the "Break" button and then accessing my script.
Does that help?
Mike

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2007 05:44 PM
I think I was not using the debugger in the intended way; I started up and didn't know what to press to start stepping through it (the 'Step into' button did not look active), and loaded and ran the script 'bare'.
I am able to access the intended variables now.
I am able to access the intended variables now.
