Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Cannot debug Javascript with VS2008 SP1

Reply
Thread Tools

Cannot debug Javascript with VS2008 SP1

 
 
Rory Becker
Guest
Posts: n/a
 
      08-19-2008
Just when I need it, my copy of VS2008 seems incapable of debugging javascript
code.

I'm really not sure it ever was. Perhaps I saw this before in VS2005 (which
I recently uninstalled) could this have been it?

I never get a "Script Documents" node in Solution explorer.

Breakpoints are never hit.

I have Enabled script debugging in IE(version 7) and also for "Other" browsers.

I have tried running the code (F5), attaching to process IE, W3WP.exe, Firefox

Nothing... nada....zip .. zilch.

can anyone tell me what I'm doing wrong?

I include my ASPX file here just in case but it's really simple.
-------------------------------------------------------------
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Default.aspx.vb"
Inherits="WebApplication2._Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title></title>
<script type="text/javascript">
function Somefunction()
{
alert('Hi');
}
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<input id="Button1" type="button" value="Do Stuff" onclick="javascript:Somefunction();"/>
</div>
</form>
</body>
</html>
-------------------------------------------------------------

I have tried setting breakpoints on the "Alert" line and also on the "<Input"
line but still nothing.

I'm running Vista64 with 4Gb ram, VS2008 SP1 (final version), Firefox 3.0,
IE 7

Little help anyone?

--
Rory


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
VS2008 / IIS - cannot debug musosdev ASP .Net 1 08-07-2008 09:24 AM
VS2008 Vista SP1 Slow Page Loading jlea ASP .Net 1 06-25-2008 05:58 PM
Can't update to vs2008 sp1? Andy B ASP .Net 4 05-31-2008 05:36 PM
POLL: Who is using VS2008 SP1? Cirene ASP .Net 2 05-30-2008 06:03 AM
VS2008 SP1 Cirene ASP .Net 8 05-27-2008 07:56 PM



Advertisments