473,326 Members | 2,438 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

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 3158
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: ABC | last post by:
How to debug client-side script (javascript) from VS2003 or VS2005?
46
by: Ian Boyd | last post by:
IIS5, on a Windows 2000 Server machine. Debeg.WriteLine "Hello, world!" How can i view it?
10
by: Ole | last post by:
Hi, Using VS2005 and a windows CE 5.0 device running CF2. Suddenly I can't debug my C# program from VS2005 - when setting a breakpoint I only see a ring instead of the normal red dot and when...
3
by: André | last post by:
Hi, I put that question already, but it's still not very clear to me, so ... Assume following option in web.config= debug="false" but in one aspx page (test.aspx) <%@ debug="true" ..%>
3
by: zhouchengly | last post by:
I test a stl sort function in vs2005 and find the efficiency of debug to release version is about 1000:1, it suprise me and I'm curious what cause it.
7
by: iKiLL | last post by:
Hi all I am still pretty new to .Net and C#. I have come from a VB6 Background.
0
by: Milos Puchta | last post by:
Hi we have two versions of VS in our lab environment. There are VS2002 and VS2005 The older version is for compatibility reason when using ObjectARX (Autocad 2004) and the newer one is used for...
5
by: Ryan Liu | last post by:
I have this problem: "cannot continue edit while debug in VS2005". I see the same tread after I search this topic in google, but none solutions works for me. So again, I ask here. Can someone...
5
by: =?Utf-8?B?SGFpcmxpcERvZzU4?= | last post by:
I have a component that was developed in VS2003 that I need to debug in a VS2005 application. Basic steps are: Build the component for Debug in VS2003. Set the following VS2003 project...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.