473,385 Members | 1,848 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,385 software developers and data experts.

Debugging Woes (Part II)

New oddness in debugging ASP.NET Web applications.

(First off, I'm using VS.NET 2k3 to write an ASP.NET Web application in
Visual Basic .NET.)

I have a base class, which derives from System.Web.UI.WebForm. That
class contains a number of methods that I want to use on virtually all
of my pages. I have a break point set in one of the routines, named
ShowAlert().

When I run the application, the debugger stops on the next line in
ShowAlert after the breakpoint, with half of the line highlighted.
Analyzing the call stack shows that it is calling a different function
(ValidateAuthentication()) in the same file, but the line number
indicates that it's the line where my breakpoint is set, within the
ShowAlert method.

This has me completely baffled. It's the SECOND time I've run into this
today. Before today, I'd never seen it.

Any takers?

Thanks!!

Nov 19 '05 #1
2 1205
take down the application, rebuild it. delete the pdb files. reboot and try
again. Your pdb files are out of sync with the executable code.

--
Regards,
Alvin Bruney
"Tyrant Mikey" <mi***********@civigenics.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
New oddness in debugging ASP.NET Web applications.

(First off, I'm using VS.NET 2k3 to write an ASP.NET Web application in
Visual Basic .NET.)

I have a base class, which derives from System.Web.UI.WebForm. That
class contains a number of methods that I want to use on virtually all
of my pages. I have a break point set in one of the routines, named
ShowAlert().

When I run the application, the debugger stops on the next line in
ShowAlert after the breakpoint, with half of the line highlighted.
Analyzing the call stack shows that it is calling a different function
(ValidateAuthentication()) in the same file, but the line number
indicates that it's the line where my breakpoint is set, within the
ShowAlert method.

This has me completely baffled. It's the SECOND time I've run into this
today. Before today, I'd never seen it.

Any takers?

Thanks!!

Nov 19 '05 #2
Thanks very much for the help.

Recreating the project file turned out to be less work than I expected
(I had forgotten all about the ability to create a blank project in an
existing folder). But recreating it worked.

Again, thanks much!

Nov 19 '05 #3

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

Similar topics

4
by: Glenn Reed | last post by:
This is just a general comment after trying my hand at some serious python programming for the first time. Have played with it for some time but this is the first serious thing I've done with it. ...
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...
2
by: Jerry Camel | last post by:
I've read every post and KB article, etc that I can find. I thought I was having permissions issues in regards to getting remote debugging to work, but I worked through all of that and now I keep...
16
by: Serdar Kalaycý | last post by:
Hi everybody, My problem seems a bit clichè but I could not work around. Well I read lots of MSDN papers and discussions, but my problem is a bit different from them. When I tried to run the...
2
by: Tyrant Mikey | last post by:
Okay, I'm stumped. I'm writing a Visual Basic .NET Web Application and everything's been going marvelously until now. All of a sudden, Visual Studio will not debug the application. The application...
23
by: keyser_Soze | last post by:
I have MS Visual Studio 2003 on Windows XP Pro. I have IIS running on this machine and I am trying to debug some existing code which has both ASP and ASP.NET components. When I try and launch...
0
by: Joseph S. | last post by:
hi all, debugging PHP applications interactively is possible, easy and free. I am talking about PHPEclipse and using it for debugging over several scripts or debugging through a session. Since I...
3
by: Paul Porthouse | last post by:
Hoping someone can help with this problem. I am having a serious problem while debugging several C# web applications in Visual Studio 2003 SP1. All was fine until yesterday morning then when I...
2
by: Diez B. Roggisch | last post by:
Hi, I'm fiddling around with pydb. Installation and usage are fine. What I especially like is the fact that you can attach a signal such that you drop into debugging mode on demand. But this...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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: 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:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...

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.