Home All Groups Group Topic Archive Search About
Author
9 Apr 2006 8:39 PM
David Thielen
Hi;

I'm sure it's a simple answer but I can't find it. How do I debug an aspx
file? Is there some way to step through the processing of it?

--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com

Author
10 Apr 2006 6:38 AM
Jeffrey Tan[MSFT]
Hi dave,

Thanks for your post!

I am not sure what code in aspx page you wanted to debug.

For server-side Asp.net code, we can just place break-point in the aspx
page, VS.net debugger will recognize this and stop in the aspx code.

Regarding client javascript code in aspx page, we should do some
configuration in the browser, the KB below documented the detailed steps:
"How to debug client-side script in Visual §³# .NET or in Visual C# 2005"
http://support.microsoft.com/kb/816173/en-us

Hope this helps!

Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Author
10 Apr 2006 1:03 PM
David Thielen
Hi;

An example would be this:
<td><%# Eval("Vendor") %></td>

What if it displays nothing and I think it should have a value? How can I
step through the evaluation it makes to get the value for this cell?

--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com



""Jeffrey Tan[MSFT]"" wrote:

Show quoteHide quote
> Hi dave,
>
> Thanks for your post!
>
> I am not sure what code in aspx page you wanted to debug.
>
> For server-side Asp.net code, we can just place break-point in the aspx
> page, VS.net debugger will recognize this and stop in the aspx code.
>
> Regarding client javascript code in aspx page, we should do some
> configuration in the browser, the KB below documented the detailed steps:
> "How to debug client-side script in Visual §³# .NET or in Visual C# 2005"
> http://support.microsoft.com/kb/816173/en-us
>
> Hope this helps!
>
> Best regards,
> Jeffrey Tan
> Microsoft Online Community Support
> ==================================================
> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from your issue.
> ==================================================
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
>
Author
10 Apr 2006 2:34 PM
Phillip Williams
I would setup a temporary method consuming the databinding event where you
can use the Trace.Write method to echo the values retrieved in the dataitem
object exposed by the eventargs parameter that is passed to that method. 
(You need to set Trace="true" on the page directive)
Show quoteHide quote
"David Thielen" wrote:

> Hi;
>
> An example would be this:
> <td><%# Eval("Vendor") %></td>
>
> What if it displays nothing and I think it should have a value? How can I
> step through the evaluation it makes to get the value for this cell?
>
> --
> thanks - dave
> david_at_windward_dot_net
> http://www.windwardreports.com
>
>
>
> ""Jeffrey Tan[MSFT]"" wrote:
>
> > Hi dave,
> >
> > Thanks for your post!
> >
> > I am not sure what code in aspx page you wanted to debug.
> >
> > For server-side Asp.net code, we can just place break-point in the aspx
> > page, VS.net debugger will recognize this and stop in the aspx code.
> >
> > Regarding client javascript code in aspx page, we should do some
> > configuration in the browser, the KB below documented the detailed steps:
> > "How to debug client-side script in Visual §³# .NET or in Visual C# 2005"
> > http://support.microsoft.com/kb/816173/en-us
> >
> > Hope this helps!
> >
> > Best regards,
> > Jeffrey Tan
> > Microsoft Online Community Support
> > ==================================================
> > When responding to posts, please "Reply to Group" via your newsreader so
> > that others may learn and benefit from your issue.
> > ==================================================
> > This posting is provided "AS IS" with no warranties, and confers no rights.
> >
> >
Author
10 Apr 2006 4:26 PM
David Thielen
Trace=true is what I was looking for - this is very useful - I didn't know
about it.

--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com



Show quoteHide quote
"Phillip Williams" wrote:

> I would setup a temporary method consuming the databinding event where you
> can use the Trace.Write method to echo the values retrieved in the dataitem
> object exposed by the eventargs parameter that is passed to that method. 
> (You need to set Trace="true" on the page directive)
> --
> HTH,
> Phillip Williams
> http://www.societopia.net
> http://www.webswapp.com
>
>
> "David Thielen" wrote:
>
> > Hi;
> >
> > An example would be this:
> > <td><%# Eval("Vendor") %></td>
> >
> > What if it displays nothing and I think it should have a value? How can I
> > step through the evaluation it makes to get the value for this cell?
> >
> > --
> > thanks - dave
> > david_at_windward_dot_net
> > http://www.windwardreports.com
> >
> >
> >
> > ""Jeffrey Tan[MSFT]"" wrote:
> >
> > > Hi dave,
> > >
> > > Thanks for your post!
> > >
> > > I am not sure what code in aspx page you wanted to debug.
> > >
> > > For server-side Asp.net code, we can just place break-point in the aspx
> > > page, VS.net debugger will recognize this and stop in the aspx code.
> > >
> > > Regarding client javascript code in aspx page, we should do some
> > > configuration in the browser, the KB below documented the detailed steps:
> > > "How to debug client-side script in Visual §³# .NET or in Visual C# 2005"
> > > http://support.microsoft.com/kb/816173/en-us
> > >
> > > Hope this helps!
> > >
> > > Best regards,
> > > Jeffrey Tan
> > > Microsoft Online Community Support
> > > ==================================================
> > > When responding to posts, please "Reply to Group" via your newsreader so
> > > that others may learn and benefit from your issue.
> > > ==================================================
> > > This posting is provided "AS IS" with no warranties, and confers no rights.
> > >
> > >