473,511 Members | 16,282 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Inter-project debugging

Hello All,

I wrote a .dll in C++, and I'm calling it's funtions from a VB.NET
program. I have both the VB and the C++ projects in the same solution.

When I debug, I can step through the VB.NET program, but when I get to
the .dll function call, it just does a "Step Over" instead of stepping
*Into* my .dll's code, even though I have the .dll project as part of
the solution.

How can I make the program step into my .dll's code when I'm debugging?

Thanks!

-Joel
Nov 21 '05 #1
2 1146
"Joel Whitehouse" <jo************@gmail.com> wrote in message
news:Ov****************@TK2MSFTNGP14.phx.gbl...
I wrote a .dll in C++, and I'm calling it's funtions from a VB.NET
program. I have both the VB and the C++ projects in the same solution.

When I debug, I can step through the VB.NET program, but when I get to the
.dll function call, it just does a "Step Over" instead of stepping *Into*
my .dll's code, even though I have the .dll project as part of the
solution.

How can I make the program step into my .dll's code when I'm debugging?


Highlight the VB.Net project and choose 'Properties' from the menu. Then
click the 'Configuration Properties' folder and the 'Debugging' item below
it. Find the checkbox labeled "Unmanaged Code Debugging" and select the
option.

Be warned, this option is often painfully slow.

Regards,
Will
Nov 21 '05 #2
William DePalo [MVP VC++] wrote:
"Joel Whitehouse" <jo************@gmail.com> wrote in message
news:Ov****************@TK2MSFTNGP14.phx.gbl...
I wrote a .dll in C++, and I'm calling it's funtions from a VB.NET
program. I have both the VB and the C++ projects in the same solution.

When I debug, I can step through the VB.NET program, but when I get to the
.dll function call, it just does a "Step Over" instead of stepping *Into*
my .dll's code, even though I have the .dll project as part of the
solution.

How can I make the program step into my .dll's code when I'm debugging?

Highlight the VB.Net project and choose 'Properties' from the menu. Then
click the 'Configuration Properties' folder and the 'Debugging' item below
it. Find the checkbox labeled "Unmanaged Code Debugging" and select the
option.

Be warned, this option is often painfully slow.

Regards,
Will

Thanks so much! This helps me to no end! If I had $50 to hand you...

-Joel
Nov 21 '05 #3

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

Similar topics

1
1804
by: David M. Karr | last post by:
I've been asked to help debug a complex problem involving inter-frame references, so I just want to understand the elements involved with this. Apparently, there is a page with multiple frames,...
4
3828
by: Frank Meng | last post by:
Hi. I am trying a csharp sample from http://www.codeproject.com/csharp/socketsincs.asp . (Sorry I didn't post all the source codes here, please get the codes from above link if you want to try)....
4
4952
by: Viper Venom | last post by:
Dear All: I am trying to write an application that consist 2 executables 1) Server.exe 2) Client.exe I start the server.exe first and then start the two client exe by code and kill both of...
7
31690
by: A.M | last post by:
Hi, What is the best way to implemet Inter Process Communication in .NET ? I developed two programs and I want to have them talk to each other. Thanks, Alan
13
4099
by: Bern McCarty | last post by:
I have run an experiment to try to learn some things about floating point performance in managed C++. I am using Visual Studio 2003. I was hoping to get a feel for whether or not it would make...
6
16691
by: les | last post by:
Here's a class which uses 2.0 generics to implement an inter-thread message queue in C#. Any number of threads can post and read from the queue simultaneously, and the message object can be any...
5
4115
by: Joseph Geretz | last post by:
I need to communicate between two applications. The legacy application is in VB6. New development is in C#. Here's the scenario: The VB6 app will be pumping document files into a folder. We'll be...
0
1865
by: Hugo Ferreira | last post by:
Hi everyone! Here's the current scenario: I have a program in Python that computes something very fast (<1s), but it takes a considerable amount of time to read the startup data (>90s). Since...
1
4938
by: Laurence | last post by:
Hi folks, As I konw: database partition (aka data partition?), the database can span multiple machines; table partition, the data within a table can seperate by certain condition. How about...
0
2306
by: dantz | last post by:
After reading all of the materials in msdn about interprocess communication now I am confused. I hope someone can give me some enlightment. I am developing a multithreaded client-server...
0
7245
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
7144
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...
1
7085
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7512
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5671
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,...
0
4741
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...
0
3214
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
785
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
449
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.