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

Cannot set breakpoint in a certain project

Hi. Ive been using Visual C++ for two years on an application. The
application is one solution, containing 10 projects. 9 of the projects build
libraries (*.lib). I've been debugging the application for 2 years. One
thing that has been happening for several months is a genuine mystery:

I cannot set breakpoints in one of the libraries (source code). I can
create the breakpoint in the source code editor, but when I attach to the
application, I get a warning message:

"he following breakpoint cannot be set
At MyFile.cpp, line 123
The Common Language Runtime was unable to set the breakpoint

And the breakpoint, indeed, does not function. This problem holds for every
function in this one library (project). But only this one project: all
other projects in the solution have no problem with breakpoints.

Another clue: When I am stepping lines in the debugger, and I step down
into any function in the library with the problem, Visual C++ shows the
source code, and kind of steps thru it, but it takes several steps to move
one source code line, almost as if each "step" steps one line of assembly.

The variables "watch" display does not work for this one library, either.

All this is compiled in the Debug configuration, not Release.

The mysterious thing is that the problem is only with the one Library
(project) in this solution: My other 8 libraries work fine.

So my question is: Does anyone have any ideas what would cause Visual C++
to be unable to set a breakpoint (at attach time) in one particular project
(library) when all other projects in the solution have no problem.

Thanks in advance for any help.

Aug 3 '06 #1
0 3157

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

Similar topics

1
by: chris | last post by:
hello I have a project with two imported dll's. I try to put a breakpoint in the main project in one of the modules of the DLL ... Some breakpoints are hit but in one module no breakpoints are...
0
by: Ash | last post by:
Hi all, I have a C# web application which calls a number of stored procedures. I wish to step into the stored procedures while debugging i.e "Mix-mode debugging": I have completed the following...
2
by: Ash | last post by:
Hi all, I have a C# web application which calls a number of stored procedures. I wish to step into the stored procedures while debugging i.e "Mix-mode debugging": I have completed the following...
3
by: John Kutsor | last post by:
I have been working on a ASP.NET project with VB Code behind for a while now, and it ran perfectly up until now. When I try to set a breakpoint or a watch at certain parts of the project, even...
2
by: Ofer Zelig | last post by:
I set a breakpoing at a certain line in a JS file, and get a small exclamation icon which its tooltip says "The breakpoint will not currently be hit. No symbols have been loaded for this document"....
10
by: Ole | last post by:
Hi, Using VS2005 and a windows CE 5.0 device running CF2. Suddenly I can't debug my C# program from VS2005 - when setting a breakpoint I only see a ring instead of the normal red dot and when...
4
by: TC | last post by:
When I try to debug my code, Visual Studio is skipping my breakpoints. At runtime, the solid red circle becomes only the outline of a circle, and if I hover over the breakpoint I see the message...
7
by: =?Utf-8?B?TWljaGFlbA==?= | last post by:
Hi Everyone, I just started to get this error today. "The breakpoint will not currently be hit. The source code is different then the original. It seems to walk right over my breakpoints. I'm not...
4
by: JohnR | last post by:
I understand the VS2005 still doesn't support data breakpoints in VB. My question is this.. does anybody know of a 3rd party product that DOES support data breakpoints in VB? As an aside, does...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...

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.