473,385 Members | 1,606 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 C# assembly called from C++

Hi,

I have a C# assembly that is being called from VC6 via COM.

I open the C# project in .Net, set a breakpoint, set debug type to
"program", and specify my C++ app.

F5 runs the C++ app, but my breakpoint never fires?!

The C# dll is not in the GAC, and the build path is different to the
actual path of the dll used by the C++ app. Could this be anything to
do with it? (I cannot change the build path for some reason - it is
greyed out).

Also tried enabling "debug unmanaged code" but this makes no
difference.

Any ideas?

Thanks
Nov 16 '05 #1
1 947
> and the build path is different to the
actual path of the dll used by the C++ app. Could this be anything to
do with it?
Er.. yes. (Probably.) This is the first thing I'd try. It should register it
on building it, which should set the path that the C++ program uses.
(I cannot change the build path for some reason - it is greyed out).

Also tried enabling "debug unmanaged code" but this makes no
difference.

Any ideas?

Thanks

Nov 16 '05 #2

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

Similar topics

0
by: Dave | last post by:
Hi everyone, (I already posted this to the VS.NET IDE news group without any responses, so I'm attempting one more time in this group) The issue I'm having is occuring in the IDE of VS.NET...
7
by: Mikael Östberg | last post by:
Hello all! I have been working on a project for some time now and yesterday, my debugger stopped working. It is a class library which I run from a Win32 test app, so no IIS involved at this...
1
by: TJO | last post by:
I am building an asp.net application on my machine and every so often when i press F5 to debug i get the following error. This is most annoying because the only way to eleviate the error is...
1
by: Usman | last post by:
Hi, I have a simple visual basic 6 program that calls a function in a class written in C# assembly. Running executeable directly gives me no problem, debugging VB6 program is also working fine....
9
by: Notre Poubelle | last post by:
Hello, I know tools like Lutz Roeder's Reflector can be used to disassemble an assembly into any number of .NET languages and this is invaluable for debugging 3rd party (e.g. Microsoft)...
5
by: phnimx | last post by:
Hi , We have developed a number of plug-in .NET Library Components that we typically deploy with our various applications by installing them into the GAC. Each of the applications contains an...
0
by: Benny | last post by:
I have been trying to instal AutoCAD 2008 on a single PC and get the following Microsoft .NET Framework security error. I have updated to the latest .NET Framework 2.0 software, however, this...
12
by: hjmjao | last post by:
Hi when I run my application for some users it gives me the following message See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ...
0
by: stimpy_cm | last post by:
Hi everyone, I’m not a programmer but have a little notion about how things work. I recently downloaded an emulator for my calculator (Texas Instruments Voyage 200), the program uses a library...
0
by: =?Utf-8?B?QWxoYW1icmEgRWlkb3MgRGVzYXJyb2xsbw==?= | last post by:
Hi misters, i have application winforms in VB.NET When I press F5, for executing Debug....it's slows... I see,
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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?
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,...

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.