473,662 Members | 2,581 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

.NET and Native Dll Debugging

Hi Folks,

I have searched on search engines for previous dicsussions dealing with
this.. but didnt find em any useful... so here I am..
I am having a .NET (BV.NET) application in which I am calling a managed
dll(C#), which inturn is calling a native dll (c++). OK. Now in the
VB.NET application's project, I add the project of C#(dll). Now while
debugging the VB.NET app, I can step into the source code of c#(dll).
But when the c# code(dll) calls the native dll, I am not able to
source-level debugging of the native dll. I have my native dll project
open in VC6.0, but the control flow does not go there. I have also
enabled the unmanaged code debugging in the VB.NET project..

Please throw some light

Best Regards,

Nov 17 '05 #1
2 3071
<vi*********@gm ail.com> wrote in message
news:11******** **************@ g44g2000cwa.goo glegroups.com.. .
I have searched on search engines for previous dicsussions dealing with
this.. but didnt find em any useful... so here I am..
I am having a .NET (BV.NET) application in which I am calling a managed
dll(C#), which inturn is calling a native dll (c++). OK. Now in the
VB.NET application's project, I add the project of C#(dll). Now while
debugging the VB.NET app, I can step into the source code of c#(dll).
But when the c# code(dll) calls the native dll, I am not able to
source-level debugging of the native dll. I have my native dll project
open in VC6.0, but the control flow does not go there. I have also
enabled the unmanaged code debugging in the VB.NET project..


If you are sure about having enabled mixed-mode debugging then the next
obvious thing to check is that the DLL has been built with debugging
information and that a PDB (program data base) is available in the directory
with the DLL.

Regards,
Will
Nov 17 '05 #2
thanks..! That did it..

Nov 17 '05 #3

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

Similar topics

1
1497
by: Vishuonline | last post by:
Hi Folks, I have search on search engines for previous dicsussions dealing with this.. but didnt find em any useful... so here I am.. I am having a .NET (BV.NET) application. I am calling a managed dll(C#), which inturn is calling a native dll (c++). OK. Now in the VB.NET application, I also add the project of C3(dll). Now while debugging the VB.NET app, I can step into the source code of c#(dll). But whent he c# code(dll) calls the...
1
4630
by: Maor Mishkin | last post by:
Hello All, I have an application that is written in c#, this application calls a native (not managed) c++ dll, the connection is good and the functions run great, I have a problem entering the c++ code in debug mode (when trying to step into to the code). This could be a big problem for me, if I can't debug the combined code. pls if you can tell me what do I need to do to make it work. for mails: mishkin@bgumail.bgu.ac.il. Thanks Maor.
18
2349
by: Paul Brun | last post by:
Can this be done? Is there a way to "de-alias" the int datatype so I can pass an int into a C method?? Paul
1
2166
by: Jim | last post by:
Hello, I am writing an application that relies heavily on interop between managed c++ and native c++. The main project is managed c++, but most of the classes themselves are written in native c++ using the "#pragma unmanaged" to prevent them from getting compiled into MSIL. A few of the native classes do wrap ..NET framework components, and they use the gcroot<> template to hold
1
1532
by: Boris Dynin | last post by:
Hi, I have some projects (native - not managed code) in VC++ 2003. I'm trying to debug that stuff on Win98 system that has VC6.0 installed. Is it possible to use VC6.0 for debugging code built with VC++ 2003? I know that remote debugging with VS 2003 can be used in this scenario. However, it would be easier for me to use VC6.0. Thanks for any hints, Boris
1
1338
by: Morgan Cheng | last post by:
We can view MSIL code with reflector or ILDASM, but how can we view native code generated by JIT compiler at runtime?
0
929
by: avinandre83 | last post by:
I am new to .net and having some difficulties in debugging unmanaged Native DLL in .net.. I am using a Native COM DLL in ASP.Net web application. The problem is I am unable to degul my DLL in .NET. When I add a reference to DLL a interop DLL is created and when I try to load Symbol information manually I am unable to do so. How can I Debug com DLL here ??? Please Help? /A
1
1397
by: jc | last post by:
Hello. I'm doing some prep work before taking the vb.net brainbench. I noticed one of the topics is : Consuming resources - Windows Native Calls Where can I get more info on this? What exactly is a Windows Native call? Controls that talk to the OS?
6
6567
by: =?Utf-8?B?RmFiaWFu?= | last post by:
Hi, I have a pretty complicated program which consists of the following basic modules: 1. a C# application 2. a C++/CLI application which is controlled by the C# app via IPC remoting 3. lots of native code which is wrapped by the managed C++/CLI code A remark to this complicated structure: We are controlling hardware via
0
8432
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8344
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8857
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
7367
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5654
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4180
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4347
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2762
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1993
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.