R
Rory Becker
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?
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?