473,385 Members | 1,942 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.

C# Breakpoint problem

Hi There,

I am trying to set a breakpoint in some C# code. It is a
dll that is called by C++ code.

In order to call the C# code I use regasm with
the /codebase and /tlb options, I have created the dll
and tlb in both the C# project directory and in the
calling C++ project directory.

The breakpoint has a question mark in it. I have
encountered this problem before in C++ code and it was
just a matter of setting the output directory to the
solution directory. However, that is not the case for
this code.

Any suggestions?
Nov 15 '05 #1
4 4953
Cahlein wrote:
Hi There,

I am trying to set a breakpoint in some C# code. It is a
dll that is called by C++ code.

In order to call the C# code I use regasm with
the /codebase and /tlb options, I have created the dll
and tlb in both the C# project directory and in the
calling C++ project directory.

The breakpoint has a question mark in it. I have
encountered this problem before in C++ code and it was
just a matter of setting the output directory to the
solution directory. However, that is not the case for
this code.

Any suggestions?


Copy the .pdb's over to the C++ project dir.

--
Arild Fines

http://ankhsvn.tigris.org
A Visual Studio .NET Addin for the Subversion version control system.
Nov 15 '05 #2
Cahlein wrote:
Hi There,

I am trying to set a breakpoint in some C# code. It is a
dll that is called by C++ code.

In order to call the C# code I use regasm with
the /codebase and /tlb options, I have created the dll
and tlb in both the C# project directory and in the
calling C++ project directory.

The breakpoint has a question mark in it. I have
encountered this problem before in C++ code and it was
just a matter of setting the output directory to the
solution directory. However, that is not the case for
this code.

Any suggestions?


Copy the .pdb's over to the C++ project dir.

--
Arild Fines

http://ankhsvn.tigris.org
A Visual Studio .NET Addin for the Subversion version control system.
Nov 15 '05 #3
Hello,

Thank you for your suggestion on how to, however the C# .pdb file is
already in the C++ project directory, I have cleaned and rebuilt the
solution to eliminate the possibility that the .dll, .pdb, and .tlb
files are out of date.

Any other suggestions?

Thanks in advance.


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 15 '05 #4
Hello,

Thank you for your suggestion on how to, however the C# .pdb file is
already in the C++ project directory, I have cleaned and rebuilt the
solution to eliminate the possibility that the .dll, .pdb, and .tlb
files are out of date.

Any other suggestions?

Thanks in advance.


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 15 '05 #5

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

Similar topics

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...
3
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...
4
by: Wal Turner | last post by:
Consider the following simple class: public class ClassA { public static string VAR = "hello"; } public void MethodA() { while(true)
4
by: Jay | last post by:
Guess this has probably been reported already. Seems if you don't use {} with for/while etc., the debugger stops at the wrong line. In the example below, I had a breakpoint at line 6 but the...
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...
1
by: Bob | last post by:
In a particular project that I'm debugging (compiled as debug, not release) I cannot set a breakpoint inside a particular function. I click to set it, and magically, another file from another...
0
by: sebnunes | last post by:
Hi all, I have a strange behavior here. I'm debugging a web page. When I set a breakpoint in the file the debugger hits the breakpoint but if I try run further the page crashes and The error...
0
by: noleander | last post by:
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...
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...
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...
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:
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?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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.