akohan
asked on
how to trace
Hello,
how can I trace an asp code? I'm using VS 2010 and need to trace following code. Is it possible?
Thanks!
<asp:Button ID="btnAddToCart" runat="server" OnCommand="OnCommand" Text="add to cart"
CommandName="AddToCart" CommandArgument='<%#Eval("ProductVariantId")%>' CssClass="productvariantaddtocartbutton" />
You should be able to just put a break point, why that's not an option?
ASKER
In C# code it shows up when I create a break point but in javascript it doesn't show any thing!
you could do a few things in asp enable the tracing for a page writing a trace message using TraceContext.Write or TraceContext.Warn or simply use the breakpoint. There is also a application level tracing.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks.