|
Possible Duplicate:
Why use windbg vs the Visual Studio (VS) debugger ?
I Use Visual Studio 2005 for C++ development.
What does WinDbg give me, that Visual Studio doesn't?
I know its good for client installations and remote debugging, as it's easy to ...
Started by RED SOFT ADAIR on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
WinDbg can be ....
From Wiki :
WinDbg can be used Debugger.
Visual Studio doesn't allows that.
Just write .symopt+0x40 in command line.
In WinDbg you could force to load PDB file that has incompatible (with EXE) checksum/date.
|
|
What are the major reasons for using Windbg vs the Visual Studio debugger?
Edit: and is it commonly used as a complete replacement for the VS debugger, or more for when the need arises.
Started by e k on
, 8 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
If broken it is, fix it you should has a bunch of WinDbg/Sos related articles, mainly around remote debugging....
If you are wondering why you should use windbg over Visual Studio, then you need to read .
Kernel mode.
|
|
I have come to realize that Windbg is a very powerful debugger for the Windows platform & I learn something new about it once in a while. Can fellow Windbg users share some of their mad skills?
ps: I am not looking for a nifty command, those can be found...
Answer Snippets (Read the full thread at stackoverflow):
Having the currect numbers you can then use windbg's .heap -fltMy favorite....
Instead use DebugDiags memory reporting.
Displaylang=en
Do not use Windbg .heap -stat command, it will sometimes give you incorrect output.
|
Ask your Facebook Friends
|
First let me say I am a total WinDbn noob, so this might be an easy question...
I have an application ("MyApp" - name changed to protect the innocent!) that I am trying to debug because it is throwing an exception. This only happens on user machines -...
Started by Michael Bray on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
If you believe the PDB should be in your symbol path, you should run something....
And it guesses wrong by following a misleading path.
Debugger walks the stack backwards, starting from the top, that's why you're.
Does not quite work.
|
|
Hi,
I am using a third party closed source API which throws an exception stating that "all named pipes are busy".
I would like to debug this further (rather than just stepping through) so I can actually learn what is happening under the covers.
I have...
Started by csharpdev on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
I assume that the 3rd party dll is native (Otherwise, just use Reflector)
Before using....
If you want a quick reference to WinDbg I'd recommend to the named pipe at the same time.
Get, you should follow a different direction.
|
|
One of our customers reported a crash. She saw the standard error message after an unhandled exception:
"Application has generated an exception that could not be handled... Click OK to terminate the application. Click CANCEL to debug the application."...
Started by Paul Williams on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
You should first set the context to the exception context:
.ecxr
Then make sure you have a sympath:\<cache>\sym*http://msdl.microsoft.com/download/symbols
These steps should ensure you get a correct native stack from k , which should....
|
|
While my .Net 3.5 app was running, the Windows Task Manager shown that my app had 16 threads. I collected a memory dump for the process and opened it using WinDbg/SOS.
Running the !threads command reveals that I have :
ThreadCount: 456 UnstartedThread...
Started by Sly on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
It is hard to tell....
The output from !threads shows a lot of dead of threads .
If you use the ~ command in WinDbg you will see all thread threads for the process.
!threads reports the number of managed threads.
Of threads for your process.
|
|
When using WinDbg, where should the private symbol files (pdb?) be placed?
My situation is: I have a DLL which I want to debug. I have the source code and symbol files for this DLL. This DLL is called by another DLL (which I don't have symbols or source...
Started by krebstar on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
For WinDbg, the simplest way to....
Using this approach should guarantee debugger (we use Visual Studio and WinDbg) to look in that path.
And then use -y WinDbg command line option to locate these files.
|
|
I have a Winform application (C#) which imports some functions from dll.
Sometimes when running the application i get the following exception:
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that...
Started by Anya on
, 5 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Guess, it's .NET's culture.dll , and Windbg is reading the 'cult' part of that as the timestamp
(That's telling Windbg to run until the DLL is unloaded, and then dump the stack)
Run for a bit to let the module unload, and execute the following....
|
|
Hello everyone,
I am debugging a crash dump of managed code, when using !threads to show all threads here, a couple of threads has Exception field value with various exceptions.
My question is how to identify which exception is the root exception which...
Started by George2 on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Feel free to comment and share more data based on the steps... .
That should get you most of the way..
Also you can run !clstack to get to dump the (!PrintException) output .
You should see a call to RaiseException() in the native callstack.
|