469,275 Members | 1,629 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,275 developers. It's quick & easy.

Debug javascript in VS2005

Hi everyone,
I can't debug javascript in VS 2005. In my VS2005, I can't find Script Explorer in menu. Can u help me???
Oct 3 '06 #1
2 2997
Hi,

Dinh Bao Tuyen wrote:
Hi everyone,
I can't debug javascript in VS 2005. In my VS2005, I can't find Script
Explorer in menu. Can u help me???
To debug JavaScript code in VS2005, you need to enable script debugging
in IE options first (Internet properties / Advanced / Disable Script
debugging (must be unchecked).

Then, open a script file, set a breakpoint in it (F9), and then press F5
to start the code in debug mode.

Alternatively, use the "Debug / Attach to process" menu, select the
instance of IE you want to debug, and attach the debugger to it. You can
then debug the script just like you would debug C# or VB.NET code.

HTH,
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
Private/Malaysia: http://mypage.bluewin.ch/lbugnion
Support children in Calcutta: http://www.calcutta-espoir.ch
Oct 3 '06 #2
Thanks a lot. But in my VS2005, I manually add menu item "Script Explorer"
to menu Debug>Windows

"Laurent Bugnion" <ga*********@bluewin.chwrote in message
news:eU**************@TK2MSFTNGP03.phx.gbl...
Hi,

Dinh Bao Tuyen wrote:
>Hi everyone,
I can't debug javascript in VS 2005. In my VS2005, I can't find Script
Explorer in menu. Can u help me???

To debug JavaScript code in VS2005, you need to enable script debugging in
IE options first (Internet properties / Advanced / Disable Script
debugging (must be unchecked).

Then, open a script file, set a breakpoint in it (F9), and then press F5
to start the code in debug mode.

Alternatively, use the "Debug / Attach to process" menu, select the
instance of IE you want to debug, and attach the debugger to it. You can
then debug the script just like you would debug C# or VB.NET code.

HTH,
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
Private/Malaysia: http://mypage.bluewin.ch/lbugnion
Support children in Calcutta: http://www.calcutta-espoir.ch

Oct 3 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

46 posts views Thread by Ian Boyd | last post: by
reply views Thread by Milos Puchta | last post: by
5 posts views Thread by Ryan Liu | last post: by
5 posts views Thread by =?Utf-8?B?SGFpcmxpcERvZzU4?= | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.