C# Breakpoint problem

  • Thread starter Thread starter Cahlein
  • Start date Start date
C

Cahlein

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?
 
Cahlein said:
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.
 
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.
 
Back
Top