473,568 Members | 2,923 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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*********@NOS PAM.omnibus.co. uk
Nov 17 '05 #1
4 3495

"Adam Benson" <Ad*********@om nibus.NOSPAM.co .uk> wrote in message
news:%2******** ********@TK2MSF TNGP14.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*********@NOS PAM.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, "gobbledego ok" 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******** ******@TK2MSFTN GP12.phx.gbl...

.......
Nov 17 '05 #3
> Mind to be more explicit, "gobbledego ok" 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!ZwDelayEx ecution+0xc
mscorwks+0c83c7 4
mscorwks+0c83ce c
0x2f70552
0x3630065
etc etc

The thing is I have installed the symbols and set _NT_SYMBOL_PATH .
I set it to c:\windows\symb ols 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, "gobbledego ok" 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!ZwDelayEx ecution+0xc
mscorwks+0c83c7 4
mscorwks+0c83ce c
0x2f70552
0x3630065
etc etc

The thing is I have installed the symbols and set _NT_SYMBOL_PATH .
I set it to c:\windows\symb ols 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
2578
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 indexing) symmetrical and more consistent. So to find out if this is indeed a possibility, it would be nice to get a few opinions at this point....
6
621
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. I didn't do an dump/reload process since the copy process is faster. Is it OK to take this shortcut in postgreSQL? any side-effects? 2. The...
1
1589
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 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...
0
1602
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 usage for that IIS worker process is over 1GB. I understand in this sceneario that the virtual memory pool can become fragmented and produce this...
8
1337
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 true, a mainmenu with a menuitem,
1
5222
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 found recommends using mscordmp.exe - The documentation does not specify file extension for the dump file - The documentation does not specify how to...
5
2424
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 this possible? I suppose I could run my entire IDE inside a vmware virtual machine? Thanks for your help, Chris
3
1222
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" (does the input fields validation). If the validation is false, the initial input values are displayed on the fields. If the validation is correct,...
1
3718
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 thing in the first place). So I removed the assorted taggery from each end, leaving just a big text file taking the following format: ('value',...
0
7605
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7917
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7665
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6277
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5501
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3651
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3631
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1207
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
933
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.