473,396 Members | 1,754 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Debugging Page Methods


I am having hard time trying to debug a Page Method in an ASPX page.
I was able to set break point in client side JavaScript code but not
in C# code in ASPX page.

How do one can debug Page Methods?

Thanks

Aug 23 '07 #1
2 3495
If you had modified your code you need to do a complete rebuild.
Basically you need to restart application each time. The problem is that
ASP.NET/Ajax engine make a proxy to that static method and even if you've
modified it asp.net will still call old version and your breakpoint will not
be hit.

George.
"probashi" <pr******@hotmail.comwrote in message
news:11**********************@q3g2000prf.googlegro ups.com...
>
I am having hard time trying to debug a Page Method in an ASPX page.
I was able to set break point in client side JavaScript code but not
in C# code in ASPX page.

How do one can debug Page Methods?

Thanks

Aug 23 '07 #2
On Aug 23, 3:48 pm, "George Ter-Saakov" <gt-...@cardone.comwrote:
If you had modified your code you need to do a complete rebuild.
Basically you need to restart application each time. The problem is that
ASP.NET/Ajax engine make a proxy to that static method and even if you've
modified it asp.net will still call old version and your breakpoint will not
be hit.

George.

"probashi" <proba...@hotmail.comwrote in message

news:11**********************@q3g2000prf.googlegro ups.com...


I am having hard time trying to debug a Page Method in an ASPX page.
I was able to set break point in client side JavaScript code but not
in C# code in ASPX page.
How do one can debug Page Methods?
Thanks- Hide quoted text -

- Show quoted text -
thanks

Aug 23 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: David Evans | last post by:
Hi I have a service created in VS.NET, which I can install and run quite happily. After teh service is running, I can attach and run the debugger. However, if I set a breakpoint in the IDE the...
1
by: Simon | last post by:
Hi everyone I'm having a very frustrating problem with debugging my code at the moment. The problem concerns breakpoint working in some methods, but not others. In an aspx codebehind I have...
10
by: Andrew Chalk | last post by:
I have an ASP 3.0 page that contains an ActiveX control that I wrote in VC++ v6.0. Under Visual Interdev I can debug the ASP code just fine. However, when I get to an ASP line that references my...
6
by: Dmitri Shvetsov | last post by:
Hi All, Did somebody see the situation when the VS refuses to debug the Web Service at all? I can't catch why, the initially created Web Service can be debugged very easy but after some changes...
0
by: ZMan | last post by:
Scenario: This is about debugging server side scripts that make calls to middle-tier business DLLs. The server side scripts are legacy ASP 3.0 pages, and the DLLs are managed DLLs...
4
by: yinglcs | last post by:
I am trying to debug a C++ program in GDB on linux. I want to dump out the content of the "this" object, Here is what I get: (gdb) print *this $2 = {path = <incomplete type>} My question is...
1
by: George Jordanov Ivanov | last post by:
Folks, I have a Web service with the two possible types of methods - OneWay and Request/Response. The problem is while debugging I cannot step into the OneWay methods, while trying to do the...
3
by: 1388-2/HB | last post by:
This is happening on a WinXP Pro SP2 machine with Visual Studio 2005 & local IIS as the debugger. Everything was working fine this morning (and had been working for weeks/months prior). After a...
0
Motoma
by: Motoma | last post by:
Debugging messages are a powerful tool; however, many production systems (and test systems for that matter) have them disabled by default. If your PHP script is crashing horribly and you are not...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.