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

Debugging not working correctly

I set a breakpoint in a .NET function, and the F10 [Step Over] debug
option never reaches many of the source lines in this function. The
lines that it skips are not part of a conditional expression thus
should always get invoked.
Oct 15 '08 #1
5 916
>I set a breakpoint in a .NET function, and the F10 [Step Over] debug
>option never reaches many of the source lines in this function. The
lines that it skips are not part of a conditional expression thus
should always get invoked.
Are you perhaps debugging a release (optimised) build? What you're
seeing is a typical behaviour.

Dave
Oct 15 '08 #2
On Oct 15, 4:08*pm, David Lowndes <Dav...@example.invalidwrote:
I set a breakpoint in a .NET function, and the F10 [Step Over] debug
option never reaches many of the source lines in this function. The
lines that it skips are not part of a conditional expression thus
should always get invoked.

Are you perhaps debugging a release (optimised) build? What you're
seeing is a typical behaviour.

Dave
No all of the 362 projects in the solution via the Configuration
Manager are set to Debug.
Oct 15 '08 #3
>No all of the 362 projects in the solution via the Configuration
>Manager are set to Debug.
Is the project whose source you're debugging set to build with
optimisations disabled for the Debug configuration?

Dave
Oct 15 '08 #4
On Oct 15, 6:17*pm, David Lowndes <Dav...@example.invalidwrote:
No all of the 362 projects in the solution via the Configuration
Manager are set to Debug.

Is the project whose source you're debugging set to build with
optimisations disabled for the Debug configuration?

Dave
yes
Disabled (/Od)
Oct 20 '08 #5
>No all of the 362 projects in the solution via the Configuration
>Manager are set to Debug.

Is the project whose source you're debugging set to build with
optimisations disabled for the Debug configuration?

yes
Disabled (/Od)
In that case, I don't have an explanation for what you're seeing.

Dave
Oct 20 '08 #6

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

Similar topics

0
by: Job Kelderman | last post by:
Hi all! I'm trying to get remote debugging working with phpeclipse. I think i've installed everything correctly, and the debugger in eclipse starts, but breakpoints are ignored and nothing...
2
by: Steve Anderson | last post by:
Please excuse my ignorance as I'm fairly new to ASP. We have IIS running on Win2000 and serving out an ASP application. I installed the script debugger tonight. IE6 on the machine has Disable...
5
by: Don Hans | last post by:
Gents, Have .Net2003 Enterprise architect installed on a Win2k Server with IIS. Even logged in as administrator, I cannot run any ASP.NET app with debugging. I always get the error "Unable to...
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: Alex Clark | last post by:
Hi All, My system: WinXP Pro, VS.NET 2003, SQL Server Personal Edition. I'm having problems with my old favourite demon, SQL Debugging from within VS.NET. I have to say I've found this...
3
by: Herb | last post by:
while trying to run this project. I recently loaded VS2005 onto my WinXP Pro computer. Prior to that I was able to start my VS2003 ASP.NET apps in debug mode. When I attempt to do so now, I get...
7
by: | last post by:
I'm writing an ASP.NET app, using Visual Studio 2003. VS is running locally on my laptop, but the web app is running on a remote server. My laptop is not in the domain. I do have a domain account....
0
by: Peted | last post by:
I suspect there is a better forum for this question, but i couldnt find it. If someone could point me in the right direction or help me with this question it would be muchly appreciated I have...
0
jwwicks
by: jwwicks | last post by:
Introduction This tutorial describes how to use Visual Studio to create a new C++ program, compile/run a program, resume work on an existing program and debug a program. It is aimed at the...
2
jwwicks
by: jwwicks | last post by:
C/C++ Programs and Debugging in Linux This tutorial will give you a basic idea how to debug a program in Linux using GDB. As you are aware Visual Studio doesn’t run on Linux so you have to use...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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
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,...

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.