473,387 Members | 1,542 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,387 software developers and data experts.

major trouble debugging C# and C++ together

Hi,

My application is a C# Windows Forms client that uses a C++ COM server (a
dll). When I opt to debug both C# and C++ code at the same time, the
debugging environment becomes extremely slow and unstable.

I have noticed that the more expressions are in the watch list, the slower
it takes for the environment to single step through C++ code (and I am only
talking about having 5 simple pointers / expressions in the list). Things
sometimes get very unstable, where the entire windows environment takes 30
seconds to process any mouse click / keystroke. It takes for ever to bring
up Task Manager to kill the application (even though Task Manager doesn't
even report high CPU utilization by the process, and music keeps playing
without interruption...)

Is this kind of behavior typical when debugging both CLR and C++ compiled
code simultaneously?

Thanks mucho,

Christophe
http://cmarcel.net
Nov 16 '05 #1
1 1472
Christophe Marcel wrote:

Hi,

My application is a C# Windows Forms client that uses a C++ COM server (a
dll). When I opt to debug both C# and C++ code at the same time, the
debugging environment becomes extremely slow and unstable.

I have noticed that the more expressions are in the watch list, the slower
it takes for the environment to single step through C++ code (and I am only
talking about having 5 simple pointers / expressions in the list). Things
sometimes get very unstable, where the entire windows environment takes 30
seconds to process any mouse click / keystroke. It takes for ever to bring
up Task Manager to kill the application (even though Task Manager doesn't
even report high CPU utilization by the process, and music keeps playing
without interruption...)

Is this kind of behavior typical when debugging both CLR and C++ compiled
code simultaneously?


Yes, completely expected for a 13th rev. of a major product.

Take a look at your per-process VM size in the Task Manager (you may have to
display the VM Size column) -- devenv.exe is probably hogging most/all of
available memory and things grind to a halt.

"Take 2 memory chips and call me in the morning."
Nov 16 '05 #2

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

Similar topics

2
by: tstephan | last post by:
I am debugging a small app that normally runs in a few MB. When debugging the code below, my app bloats to 1GB (and more if I let it). Assembly ara = AppDomain.CurrentDomain.GetAss­emblies();...
0
by: Oliver Elphick | last post by:
The attached proposal is written primarily for Debian. Its motivation is that the current package upgrade process is pretty flaky and also that the current packaging does not really provide for...
0
by: Suzi Carr | last post by:
Hello, We have a basic report that prints a customer's name followed by their order detail lines (part#, qty, price, ext price, etc). We setup the detail section to print the rows tightly...
1
by: Optimus | last post by:
When I got vs.net 2005 Beta 2 installed in my PC, It was getting trouble with debugging in 2003. When I pressed F5 it said "Unable to start debugging on the web server. Could not start ASP.NET...
13
by: Bonj | last post by:
is there a way, using windbg.exe and dbgclr.exe together, to debug a mixed DLL? (without using VS IDE) i.e., to sort of make windbg "take over" when it gets to the unmanaged part... ?
9
by: Greg Linwood | last post by:
I'm having difficulty understanding Session state in ASP.Net. It's almost embarrassing asking this as I've been using ASP since it was first released & it really shouldn't be this hard to use -...
9
by: Tim Frawley | last post by:
I have converted a VB6 application to VB.NET. The old application made extensive use of the Clipboard for copying an Image Name so that it could be pasted into the image capture app when the user...
16
by: Edward Diener | last post by:
After spending more than a day reducing a complicated compiler bug to a simple case I reported it to the MSDN Product Feedback Center as a bug just now. However this bug is completely stymying my...
5
by: rn5a | last post by:
Can someone please suggest me a text editor especially for DEBUGGING ASP scripts apart from Microsoft Visual Interdev? I tried using Visual Interdev & created a project but Interdev generates...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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:
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
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
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.