473,507 Members | 2,545 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Breakpoint in Page load bypassed

I'm running a page, with a link which includes a querystring, pointing to a
second page.
when I click on the link, I need to make sure all the necessary items are
correct when the second page loads.

I put several breakpoints in the Page_Load event (which contains an if/then
Postback section), including at the "if" line, - but as soon as I run the
application, all the breakpoints in the Page_load are completely bypassed,
never breaking

breakpoints work on other pages and debug=true in Web.config.

I've tried them on and - just not this one....any ideas I can check?
May 16 '07 #1
2 1461
Is the Page_Load firing?

If you are generating the link yourself make sure it is pointing to the
right server and you haven't made a typo.

"Elmo Watson" <ew@whereveryouare.comwrote in message
news:%2***************@TK2MSFTNGP06.phx.gbl...
I'm running a page, with a link which includes a querystring, pointing to
a second page.
when I click on the link, I need to make sure all the necessary items are
correct when the second page loads.

I put several breakpoints in the Page_Load event (which contains an
if/then Postback section), including at the "if" line, - but as soon as I
run the application, all the breakpoints in the Page_load are completely
bypassed, never breaking

breakpoints work on other pages and debug=true in Web.config.

I've tried them on and - just not this one....any ideas I can check?

May 16 '07 #2
At first I thought it wasn't but it was running code I didn't have active.
I found the problem - very weird - - I had inherited this app, and had
commented out quite a bit of code, early on...
I found that it was actually running the commented code (no matter how many
times I saved) and it was skipping my code - I even had a break point on the
initial line of the Page_Load event, which wasn't hit...

I removed all the commented code and it worked just fine.
go figure

"Aidy" <ai**@noemail.xxxa.comwrote in message
news:0p******************************@bt.com...
Is the Page_Load firing?

If you are generating the link yourself make sure it is pointing to the
right server and you haven't made a typo.

"Elmo Watson" <ew@whereveryouare.comwrote in message
news:%2***************@TK2MSFTNGP06.phx.gbl...
>I'm running a page, with a link which includes a querystring, pointing to
a second page.
when I click on the link, I need to make sure all the necessary items are
correct when the second page loads.

I put several breakpoints in the Page_Load event (which contains an
if/then Postback section), including at the "if" line, - but as soon as I
run the application, all the breakpoints in the Page_load are completely
bypassed, never breaking

breakpoints work on other pages and debug=true in Web.config.

I've tried them on and - just not this one....any ideas I can check?


May 16 '07 #3

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

Similar topics

8
8392
by: Dynamo | last post by:
Yep its me again, I have succesfully created a login page for my site. I have used the PHP_SELF so that once the user has succesfully logged on the page reloads. Everything works fine the first...
3
2408
by: Kevin | last post by:
When I run (F5) my web app and put a breakpoint on page load it won't stop at the breakpoint! The code that's in the routine executes, but ..NET won't stop at the breakpoint! It's driving me...
6
1504
by: bissatch | last post by:
Hi, I have been tryin to run free dhtml code from a web page. The web page is: http://dynamicdrive.com/dynamicindex14/pixelate.htm When I load the page above it opens as normal and the...
2
1776
by: Boni | last post by:
Hi all, I dynamically load assembly and call invoke. But in this case I can't set a breakpoint in the source code of the assembly. So my question is: I need a way to break somehow in the...
9
432
by: Tim Cali | last post by:
I set a breakpoint in a project, however the breakpoint is ignored. This was in the TimeTracker project from the Asp.Net site. I added it at the Login method of the TTUser class (TTUser.vb). I...
7
1813
by: AC [MVP MCMS] | last post by:
Wierd situation here. Running ASP.NET 1.1 on Win2003. I have to manually attach the debugger to a process in order to debug. So I set a breakpoint in an obvious place (like within the Page.Load...
5
2071
by: DCC-700 | last post by:
I am using ASP.Net with VB on the 1.1 Framework running on Win XP Pro. I am trying to gauge the time it takes to sort a datagrid using different code sets. But when I am debugging the page there...
0
1069
by: Rahul | last post by:
I am using Application_BeginRequest function in my Global.ascx file and I have a breakpoint set over there. I have a master page and and one of the content of the master page pints to...
2
2900
by: Jivanmukta | last post by:
Hello, I have a page index.php and a file functions.js. The page index.php conatins:         <script type="text/javascript" src="include/functions.js"> I need to set breakpoint in some...
0
7372
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7030
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
5623
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,...
1
5041
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3191
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3179
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1540
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
758
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
411
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.