473,405 Members | 2,344 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,405 software developers and data experts.

Dump of C# app possible using ADPlus (Repost - first one didn't show up)

Hi,

Apologies if this is the wrong newsgroup.

Is it possible to produce a dump of an app (say using ADPlus -hang -pn
app.exe) ?
I've installed all the symbols, used ADPlus on a simple .NET app to generate
a dump and then loaded the dump file into VS.NET.
And I just get gobbledegook. I can make it work for C++ apps so I know I'm
not terminally stupid.

TVMIA,

Adam.

--
===========================
Adam Benson
Omnibus Systems,
Leics. UK
Email : Ad*********@NOSPAM.omnibus.co.uk
Nov 17 '05 #1
4 3487

"Adam Benson" <Ad*********@omnibus.NOSPAM.co.uk> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
Hi,

Apologies if this is the wrong newsgroup.

Is it possible to produce a dump of an app (say using ADPlus -hang -pn
app.exe) ?
I've installed all the symbols, used ADPlus on a simple .NET app to
generate
a dump and then loaded the dump file into VS.NET.
And I just get gobbledegook. I can make it work for C++ apps so I know I'm
not terminally stupid.

TVMIA,

Adam.

--
===========================
Adam Benson
Omnibus Systems,
Leics. UK
Email : Ad*********@NOSPAM.omnibus.co.uk


There is no such thing like a .NET or C++ applications at runtime, they are
all plain Win32 processes and as such it's possible to dump the process
space of your ".NET" application just like any other application.

Mind to be more explicit, "gobbledegook" isn't of great help here.
Did you try Windbg to analyze the dump instead of VS.

Willy.
Nov 17 '05 #2
Thanks for the info, Willy.

I'll try Windbg and see what happens - and I'll be a little more specific in
future ;-)

AB

"Willy Denoyette [MVP]" <wi*************@telenet.be> wrote in message
news:Oa**************@TK2MSFTNGP12.phx.gbl...

.......
Nov 17 '05 #3
> Mind to be more explicit, "gobbledegook" isn't of great help here.
Did you try Windbg to analyze the dump instead of VS.


Windbg produced the same results. ie :

WARNING : Stack unwind information not available. Following frames may be
wrong.
ntdll!ZwDelayExecution+0xc
mscorwks+0c83c74
mscorwks+0c83cec
0x2f70552
0x3630065
etc etc

The thing is I have installed the symbols and set _NT_SYMBOL_PATH.
I set it to c:\windows\symbols off which are subdirectories : 16bit, acm,
ax, etc
Is that the right set up ?

Thanks,

Adam.
Nov 17 '05 #4
You did almost everything that needs to be done.

First, instead of download and setting the symbols use the ".symfix"
command like this: ".symfix c:\symbols" this will set the sympath to
Microsoft's public symbols server and will make WinDbg download any
symbols necessary for its usage when it needs to do so.

After you do that do ".sympath += [Path to your app's symbols]" to add
the symbols path to the symbols of your app.

Then, load the SOS extension (its an extension to WinDbg) that handles
Managed code by running the following command ".load clr10\sos.dll" (if
it doesn't work, go the WinDbg folder and into the clr10 and copy the
full path to the SOS.dll).

Now, instead of using the "k" commands that you used to display the
native call stack, use "!clrstack" to dump the managed stack and all
the places where you saw just numbers like "0x2f70552" and "0x3630065"
will be shown in the clr stack.

Hope this helpes you.

Eran.
----------------------------------
http://dotnetdebug.blogspot.com - Advanced .NET Debugging Blog
The blog for WinDbg, SOS, Production Managed Debugging, Post Mortem
Debugging and tips, tricks and tutorials about the secrets of WinDbg
and its friends.
Adam Benson wrote:
Mind to be more explicit, "gobbledegook" isn't of great help here.
Did you try Windbg to analyze the dump instead of VS.


Windbg produced the same results. ie :

WARNING : Stack unwind information not available. Following frames may be
wrong.
ntdll!ZwDelayExecution+0xc
mscorwks+0c83c74
mscorwks+0c83cec
0x2f70552
0x3630065
etc etc

The thing is I have installed the symbols and set _NT_SYMBOL_PATH.
I set it to c:\windows\symbols off which are subdirectories : 16bit, acm,
ax, etc
Is that the right set up ?

Thanks,

Adam.


Nov 17 '05 #5

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

Similar topics

40
by: Ron Adam | last post by:
After considering several alternatives and trying out a few ideas with a modified list object Bengt Richter posted, (Thank You), I think I've found a way to make slice operation (especially far end...
6
by: John Liu | last post by:
I've two questions, they may or may not be related - 1. I copied the entire data directory from postgreSQL 7.3.2 (AIX4.3) to the installation postgreSQL 7.3.4 (AIX5.1), the same filesystem setup....
1
by: Adam Benson | last post by:
Hi, Apologies if this is the wrong newsgroup. Is it possible to produce a dump of an app (say using ADPlus -hang -pn app.exe) ? I've installed all the symbols, used ADPlus on a simple .NET...
0
by: Joe Ross | last post by:
(Apologies in advance if there is a better forum for asking advice on this topic). Our ASP.NET application occasionally starts spitting out OutOfMemory exceptions. When this happens, the memory...
8
by: Peter Proost | last post by:
Hi, this is my (simplified) situation: I have got 3 forms and one usercontrol: their names are: container (startup object),myform,another, mycontrol contair has got IsMdiContainer set to...
1
by: dekel | last post by:
I'm trying to find the way to create and debug dumpfile of dotnet application. Any recommendation of articles, tools for creating dump file + debug it are appreciated. The documentation I...
5
by: Chris Stankevitz | last post by:
My app reliably dies after a long time. I would like to dump core before it dies, and use that core as a starting point in debugging to save me from having to spend so much time waiting. Is...
3
by: crescent_au | last post by:
hi all, i am creating a form that returns to itself like this: <form name="form1" action="<?php echo $_REQUEST; ?>" method="post"> Upon clicking submit, I want the form to return to "itself"...
1
by: TYR | last post by:
I have a large dump file that originated in a MySQL db; I need to get it into an SQLite file. Various options are suggested around the web; none of them seem to work (most failing to import the...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...
0
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
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
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.