all groups > visual studio .net debugging > february 2007
Debuging DLL behind executable
Posted by Conceptor at 2/28/2007 7:41:05 PM
Hi all,
I have an executable file for which I *don't have* the source code that uses
a DLL for which I *have* the source code. The executable and the DLL are
both compiled using VB.Net 2003. In order to fix problems in the DLL, I
would like to use the debugger of VS.Net 2003 to debug the ... more >>
How to debug remotely and ensure that the loaded assemblies are re
Posted by Juan Dent at 2/27/2007 5:16:19 PM
Hi,
I need to remotely debug an application that uses several assemblies that I
have installed in the GAC. However when I start debugging I can see in the
modules window that the assemblies are being loaded from my computer's gac
instead of from the debugged application's own gac.
How ca... more >>
MiniDumpWriteDump fails when using dump type MiniDumpWithIndirectlyReferencedMemory
Posted by Patje at 2/26/2007 11:57:13 PM
Using the following code, I create a forced mini-dump file from within
my application:
__try
{
DebugBreak();
}
__except(MyDumpFunction(0,GetExceptionInformation()),EXCEPTION_EXECUTE_HANDLER)
{
}
MyDumpFunction simply calls MiniDumpWrit... more >>
Program crashes when running accross network, but fine when on pc
Posted by Camper Joe at 2/26/2007 6:52:41 AM
Hi
Our application crashes when running it from a remote pc
(\\server\app\app.exe),
but when I run it from my pc (c:\app\app.exe) it is fine.
It seem to happen when we use ADO.Net
Any ideas?
Thanks... more >>
How to debug a VB com+ is call from ASP.NET Webservice
Posted by thaispookie NO[at]SPAM gmail.com at 2/25/2007 8:55:55 PM
Hello
I need to debug a com+ dll and VB 6.0.
If use an VB.NET Application Project works fine, but when I'm using a
VB.NET ASP.NET webservice then
debugging is not working.
So I like to ask how i can do this.
Thanks you very much.
Reiner Max
... more >>
I believe I have found a bug in CLR 2.0 (System.Runtime.InteropServices)
Posted by johnxhc NO[at]SPAM gmail.com at 2/23/2007 6:48:35 PM
I have the big application, it has C#, VB.NET, VB6 & VC++ components,
those components calling each other, passing the objects between the
managed & unmanaged layer.
The application crashes in one operation scenario, the crash is caused
by the following:
1) A COM (ComComp1 ,written with VB... more >>
Problem Finding Source while Debugging an ILMerged Assembly
Posted by robromito NO[at]SPAM gmail.com at 2/23/2007 7:33:04 AM
We're using Visual Studio 2005 Team Suite. I've got SP1 installed.
I'm currently working with two solutions. Both solutions are built
using the debug configuration.
Solution A contains multiple projects that are built and then combined
into one assembly using ilmerge. The ilmerge operation ... more >>
Remote debugging VS2005 (pdb)
Posted by gregor at 2/19/2007 8:51:13 AM
I'm testing the advance of remote debugging with VS2005 (c#).
Everything works fine. But my question is:
"Do I really have to copy all necessary pdb's to the remote computer"
or is it possible to reference a network folder.
My target is to "change nothing" on the remote computer. ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Generating always a .dmp file when my app crashes on WinXP
Posted by Viviana Vc at 2/15/2007 8:23:56 PM
Hi all,
I am interested in generating a dump (.dmp) file on a user's XP machine
when my application crashes. I read the MSDNL article "Post-Mortem
Debugging Your Application with Minidumps and Visual Studio .NET" and
there is written:
"Creating a Minidump
There are three ways to create a m... more >>
SOS Command not working
Posted by johnxhc NO[at]SPAM gmail.com at 2/15/2007 12:30:51 PM
I am trying to use sos extension but almost half of the sos command do
not work, for example
0:027> !findtable
No export findtable found
0:027> !bpmd
No export bpmd found
0:027> !GCHandleLeaks
No export GCHandleLeaks found
0:027> !GCHandles
No export GCHandles found
0:027> !GetWorkItem... more >>
VS2005 - "Attach to Process..." not on Debug Menu
Posted by jmelkerson at 2/15/2007 7:26:40 AM
am building a Windows Service in VB VS2005. The Services builds, installs,
and runs, but it does not work. I want to debug it, but "Attach to
Process..." does not appear on the Debug Menu. Why might this be so?... more >>
Package Load Failure 'Visual Studio Debugger'
Posted by zed at 2/15/2007 3:49:22 AM
When I create a new project, I retrieve a follow message:
Package Load Failure
Package 'Visual Studio Debugger' has failed to load properly ( GUID =
{C9DD4A57-47FB-11D2-83E7-00C04F9902C1} ). Please contact package
vendor for assistance. Application restart is recommended, due to
possible ... more >>
Debugging a WebService
Posted by Erica at 2/13/2007 3:28:10 PM
Hello,
I want to set a break point in the web method that I am trying to debug and
then I want to access the web method via my cell phone and have the break
point activate so I can see what is going on. How do I do this?
PS: I am using "Microsoft Visual Studio 2005 (C#)" Professional Edition.
... more >>
Unable to start debugging
Posted by Bob Hamill at 2/13/2007 6:35:03 AM
Hi, I have been using vs.net 2003 with Wxp for some time, but suddenly get
the following message when compiling - (using vb.net and this is not a web
application)
Error while trying to run project: Unable to start debugging.
Access is denied: Verify you are an administrator or a member of ... more >>
application referring to explorer
Posted by AndreasH at 2/13/2007 5:49:01 AM
Sometimes our complete application is blocked (not responding in task
manager). We found that if this problem occures, in task manager you can find
a second entry in applications with identical name as the original
application which is also not responding. This second application is
referrin... more >>
Cannot see modules window when debugging
Posted by Juan Dent at 2/10/2007 4:10:01 PM
Hi,
I recently had to cahnge laptop and reinstalled VS2005. The wierd thing is
that certain menu items are no longer present. Especially disturbing is the
absence of a menu for opening the modules window.
What happened? Is this a configuration error?
--
Thanks in advance,
Juan Dent, ... more >>
Debugging messages in Output window
Posted by Ed White at 2/8/2007 7:51:02 AM
I'm running a program in VS 2005, and I use the Output window (menu:
View-Output) extensively. Under Tools-Options-Debugging-General, I've
checked the box 'Redirect all Output Window text to the Immediate Window'.
However, I continue to receive messages in the Output window, e.g. when a
th... more >>
Dynamic Disassembler (determine main() location at runtime)
Posted by Jeffrey Walton at 2/7/2007 1:08:21 PM
Hi All,
I apologive for the cross post (I hope three is not considered too
bad). I wanted to enlist help from the kernel folks, and the power
debuggers...
I've got a pretty good grasp of static disassembly. Dynamic
Disassembly is proving to be slighly more problematic. The method I
use wil... more >>
Remote Debugging
Posted by NRao at 2/6/2007 2:12:00 PM
Hello,
I need to remote debug VS2003 asp.net web application which is deployed on
win 2003. I am following the instructions from microsoft.com site to setup
remote debugging. I have few questions
1) According to instructions, server needs to have mdm.exe running as
service. How do I set... more >>
switching between debugged processes in vs2003
Posted by ajfish NO[at]SPAM blueyonder.co.uk at 2/6/2007 3:26:32 AM
Hi all,
I have vs2003 debugger attached to two processes A and B. When a
breakpoint is hit in process A, it stops both processes. what I would
like to do is allow process B to continue running while A is paused at
the breakpoint.
the threads window only shows me threads in process A, and I ... more >>
Debugging website pages times out on Vista
Posted by Trumba at 2/5/2007 4:52:00 PM
When sitting on a breakpoint in a web-page while debugging on Vista, the
debugger times out after about 2 minutes.
"The debugger connot continue running the process"
After that it will no longer stop at breakpoints and you have to restart the
app. This seems new with Vista and is very inc... more >>
Code coverage for ie hosted user controls
Posted by Carlo Folini at 2/5/2007 3:44:01 AM
Hi,
i'm trying to do some manual code coverage on a user control hosted in ie.
Creating a simple winform and doing some manual winform navigation produce
the correct code coverage results. I launch the code coverage on the .cs that
has the main method and the assembly is correctly instrumen... more >>
Visual Studio busy! any suggestions??
Posted by Hari at 2/5/2007 1:12:05 AM
Hi,
Recently i'm getting an IDE error saying "Microsoft visual
studio is busy
Microsoft visual studio is waiting for an internal operation to
complete. If you regularly encounter this delay during normal usage,
please report this problem to Microsoft" and the IDE totally hangs up.
I... more >>
Menu item "Detach all" is disabled
Posted by cody at 2/3/2007 2:52:30 PM
Is this a bug? How do I detach my app from the debugger then?
And yes, I'm running the app in debug mode and breakpoints and other
stuff works, but "detach all" is grayed out.
Iam using VS2005 SP1.... more >>
How to Enable Mixed Mode Debugging in VS2005 Asp.Net Web Site?
Posted by Brian at 2/2/2007 7:51:06 PM
Hi. I posted this in the Asp.net group a while ago,
and nobody was able to help, and it's driving me
mad!
I need to extend and maintain a set of legacy VC++ 6
ATL dlls and call them via Asp.Net. This works but I can't
step into them or debug them. Every time I do, they step
over, which is... more >>
CoCreateInstance fails when launched from Visual Studio 2005/Vista
Posted by Trumba at 2/2/2007 11:15:00 AM
I have a managed app that uses the Outlook 2003 API to process mail. The
actual calls to the API are layered in a native C++/ATL DLL that gets called
from the managed app.
This worked fine under XP, but under Vista the CoCreateInstance of the
Outlook.Application fails with 0x80080005 when I... more >>
How to connect to children process
Posted by Metek at 2/1/2007 12:54:00 PM
I have following debug situation:
Process "A" randomly starts process "B". Process "B" works for short (2-5
sec) time and during execution links dynamically to DLL "C". I debug DLL "C"
and need catch debug tracing from it.
The problem is that I cannot start process "B" in debugger (since I... more >>
|