Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > No Debugging of C# Server-Side Script, but Code-Behind Debugging Works

Reply
Thread Tools

No Debugging of C# Server-Side Script, but Code-Behind Debugging Works

 
 
Johann Blake
Guest
Posts: n/a
 
      01-05-2004
My ASP.NET application is written using C# script as well as C#
code-behind.

After setting a breakpoint in the script and running the application,
I click from one page to the next but when I get to the page where the
breakpoint is, the code doesn't break in the IDE at the breakpoint.

The breakpoint is in a Page_Load section. All pages in my app are in
the same directory and use relative linking to move from one page to
the next. No cookies are allowed, that is, it's a cookieless
application.

On my startup page, I can place a breakpoint in the code-behind of the
button that you press to send your logon credentials. The IDE does
break at the breakpoint.

So it seems that the problem has to do with debugging script rather
than a problem with debugging in general. I included a Debug="True" at
the top of the page:

<%@ Page language="c#" Codebehind="Orders.aspx.cs" Debug="True"%>

Didn't help.

Debugging for ASP.NET is enabled in the properties.

When the app is running, the breakpoints that are not getting caught
are your typical white question marks. Obviously no symbols are
probably loaded.

Anyone have any ideas?

Best Regards,
Johann Blake


Mobile Solutions
www.closerworlds.com

Check out Polaris: GPS Vehicle tracking over GSM, GPRS, VHF, UHF,
etc.. Uses an XML web service, supports various mapping software
including MapPoint and OziExplorer, is hardware neutral, supports data
in multiple languages and can be adapted by programmers.
 
Reply With Quote
 
 
 
 
Hermit Dave
Guest
Posts: n/a
 
      01-05-2004
check Build >> Configuration Manager

Make sure its on Debug build.

HTH

HD
"Johann Blake" <> wrote in message
news: m...
> My ASP.NET application is written using C# script as well as C#
> code-behind.
>
> After setting a breakpoint in the script and running the application,
> I click from one page to the next but when I get to the page where the
> breakpoint is, the code doesn't break in the IDE at the breakpoint.
>
> The breakpoint is in a Page_Load section. All pages in my app are in
> the same directory and use relative linking to move from one page to
> the next. No cookies are allowed, that is, it's a cookieless
> application.
>
> On my startup page, I can place a breakpoint in the code-behind of the
> button that you press to send your logon credentials. The IDE does
> break at the breakpoint.
>
> So it seems that the problem has to do with debugging script rather
> than a problem with debugging in general. I included a Debug="True" at
> the top of the page:
>
> <%@ Page language="c#" Codebehind="Orders.aspx.cs" Debug="True"%>
>
> Didn't help.
>
> Debugging for ASP.NET is enabled in the properties.
>
> When the app is running, the breakpoints that are not getting caught
> are your typical white question marks. Obviously no symbols are
> probably loaded.
>
> Anyone have any ideas?
>
> Best Regards,
> Johann Blake
>
>
> Mobile Solutions
> www.closerworlds.com
>
> Check out Polaris: GPS Vehicle tracking over GSM, GPRS, VHF, UHF,
> etc.. Uses an XML web service, supports various mapping software
> including MapPoint and OziExplorer, is hardware neutral, supports data
> in multiple languages and can be adapted by programmers.



 
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
Re: "But..but...but...I can see Russia from my porch!" mrLookout@sewage.com Computer Support 0 04-15-2010 12:02 AM
Re: same DLL (ASP.NET), but include only works for aspx but not fo David Wang ASP .Net 0 12-01-2006 01:42 AM
When I turn on my PC, it works, works, works. Problem! Fogar Computer Information 1 01-17-2006 12:57 AM
[py2exe.i18n] English works, German works, but not French. What do I miss? F. GEIGER Python 3 08-06-2004 10:01 AM
After rebooting my PC works, works, works! Antivirus problem? Adriano Computer Information 1 12-15-2003 05:30 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57