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.W ebForm. 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
(ValidateAuthen tication()) 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!! 2 1221
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.goo glegroups.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.W ebForm. 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 (ValidateAuthen tication()) 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!!
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! This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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. (By serious I mean 650 lines
of python code written for a client).
The version of Python is the ActiveState version for Windows which included
PythonWin IDE.
Prior to that I learn't Perl and used it for sometime. What I miss with
python is...
|
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 converted/developed with VB.NET.
What I want from debugging is to be able to step into the methods in
the DLLs called from ASP scripts using Visual Studio .NET.
Background:
For typical script debugging issues, you can read and follow the two
documents on...
|
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 getting the error about the
debugger not being installed properly. I've re-installed it several times
and I still get the same error.
Anyone have any thoughts on how to get past this so I can debug my app?
Thanks.
|
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 project in debug mode (by
hitting F5) it gives an error message
"Error while trying to run project: Unable to start debugging on the web
server.
|
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 runs, but all my
breakpoints are ignored.
I have verified the following:
1. ASP Debugging is enabled in IIS.
2. The default configuration in the Visual Studio project is set to
Debug (both build and run).
| |
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 the debugger from VS, I am told it can't because
the project is of output type class library. The error indicates I
should set the start action to start external program or start URL.
I tried both of these and cannot seem to get the debugger to...
|
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 have wasted a lot of
time writing echo statements all over the code in order to confirm
program flow and watch variables, I feel I must share this with others
who will be facing similar problems.
PHPEclispe users can go to Step 5 directly....
|
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 tried debugging an
application after making some code changes and starting the debugger. The
IDE seems to be ignoring the changes in that it shows the code as I typed
it, but it is jumping to non-existant or commented out code. I have tried...
|
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 is of limited use to me in situations where a server is written in
python. According to the source, pydb's debugger class Gdb extends cmd.Cmd.
It passes stdin/stdout-arguments that should be usable to replace the
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |