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

Debugger hell (7-18-2002)

There is an old thread I found on google where the OP was exhibiting the
same problems I am seeing.

Reference "Debugger hell" posted 7-18-2002 by Sean Gies

I am running Visual Studio 2003 RTM. Has this problem been fixed? I have a
C# application that calls a managed C++ wrapper of a native C++ dll.
Everything works fine. However, I notice on occasional breakpoints in my
native code, everything freezes and it takes a while to bring up TaskManager
to kill devenv. This is _really_ frustrating me and I am starting to worry
that this is going to delay our release date.

Any information is helpful.

Nov 16 '05 #1
1 1423
Thanks Tian for the response. I will try your suggestions.

To answer your question about breakpoints and where and when this
problem occurs, it appears to be random. For instance, last week I had
set a breakpoint in my native C++ DLL. VS broke at a function and then
when I tried to step into the function, VS froze up and it took a
while to kill VS. I moved the breakpoint down past the function, and
it was better, although very slow. I notice when stepping through my
native code the debugger reacts very slowly, but when I am stepping
through my managed code it appears to be more responsive.


ti******@online.microsoft.com (Tian Min Huang) wrote in message news:<JA**************@cpmsftngxa06.phx.gbl>...
Hello Drew,

Thanks for your post. I'd like to share the following information with you:

1. Please make sure that Enable Unmanaged Debugging for your C# project is
set to TRUE. Please right-click the C# project in Solution Explorer, select
Properties, and this option is under Configuration Properties -> Debugging.

2. Does this problem occurs to a specific (sets of) breakpoints in native
code or occurs to all breakpoints? As far as I know, we made some
improvements in interop-debugging in Visual Studio .NET 2003. However, this
issue is not totally resolved and it is being investigated.

To work around this problem, I suggest that you can debug the unmanaged DLL
seperately by the following steps:
a. Set the unmanaged DLL as Startup project in the solution.
b. Open the Property Page for the unmanaged DLL project.
c. Go to Configuration Properties -> Debugging, input the executable file
of C# in the Command edit box.
d. Press F5 will start the C# application which loads the unmanaged DLL,
and you can set breakpoints and debug it.

Please feel free to let me know if you have any problems or concern. I look
forward to hearing from you.

Have a nice day!


Microsoft Online Partner Support

Get Secure! C www.microsoft.com/security
This posting is provided as is with no warranties and confers no rights.

Nov 16 '05 #2

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

Similar topics

by: Sam | last post by:
I'm writing an address processing app in C#, using an ActiveX component (Addr) written in VB6, for which I have the source code. The main function is FixAddress, which takes a string representing...
by: Jim Hubbard | last post by:
I am reposting a portion of a thread that I am involved in under a new topic because it seems that there are still people that believe the whole "DLL Hell" myth. I hope I can shed some light on...
by: Jeff | last post by:
Use the MS Script Editor included free with MS Office 2002 and above, for debugging Internet Explorer (IE). This subject is of great interest to many JS developers, as there is no obvious, low...
by: Rhino | last post by:
Is there any way to install the IBM Distributed Debugger V9.2 on Windows XP without first uninstalling DB2? I installed the IBM Distributed Debugger V9.2 on my Windows XP box in the hopes of...
by: GreatB | last post by:
Bill Gates died in a car accident. He found himself in Purgatory being sized up by God . .. "Well, Bill, I'm really confused on this call. I'm not sure whether to send you to Heaven or Hell....
by: RalphTheExpert | last post by:
I'm getting different behavior if my code is running under the debugger or not. I have modified Winmain to look like this: // Copyright (C) 2002 Microsoft Corporation // All rights reserved....
by: Clamps | last post by:
So I have an existing webform with about seven buttons. The buttons do a variety of tasks ranging from the simple response.redirect to a database connection & update. User requirements dictated...
by: Randy Magruder | last post by:
Attn: Asp.net gurus...if anyone can help, I hope it's here. Okay, I'm at my wits end. I have googled til my fingers hurt and am still not finding answers. The symptoms are as follows: 1. ...
by: Baron Samedi | last post by:
Sounds unbelievable, I know, but I joined a company whether they don't do any host testing, only target. No one test their code in an IDE on a PC - they just link it and try to test the whole thing...
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...

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.