Valhalla Legends Archive

Programming => General Programming => Assembly Language (any cpu) => Topic started by: Banana fanna fo fanna on February 11, 2003, 03:29 PM

Title: Process dumping
Post by: Banana fanna fo fanna on February 11, 2003, 03:29 PM
I know this isn't exactly an assembler question, but is it possible to dump a process to disk, saving its variables and everything? If so, could you provide some insight how to achive this? If not, could you assist me in finding the start and end addresses of the data and bss segments?

Thanks.
Title: Re: Process dumping
Post by: Adron on February 11, 2003, 04:04 PM
Use windbg, attach to the process and then do the command .dump /f filename.dmp

But you're right, this is not about assembly language.
Title: Re: Process dumping
Post by: KaSiaL on February 19, 2003, 01:31 PM
Since we're here about dumping then how about debugging? What is the best app to debug multithread processes (for winxp)?
Title: Re: Process dumping
Post by: Banana fanna fo fanna on February 19, 2003, 03:20 PM
I liked SoftICE...until it stopped working on my system.
You could try the VC debugger or WinDbg I guess.
Title: Re: Process dumping
Post by: KaSiaL on February 19, 2003, 03:38 PM
K, thx :) I'm downloading the WinDbg from Micro$hit's site at this very moment ;D 75% to go.... 8)

30% .... LOL anyone wants to download full set of symbols required to debug Windows XP? 172 Megz ;D
Title: Re: Process dumping
Post by: Skywing on February 19, 2003, 05:01 PM
QuoteK, thx :) I'm downloading the WinDbg from Micro$hit's site at this very moment ;D 75% to go.... 8)

30% .... LOL anyone wants to download full set of symbols required to debug Windows XP? 172 Megz ;D
Those aren't required at all.  They're simply provided to make life easier for you.
Title: Re: Process dumping
Post by: KaSiaL on February 20, 2003, 06:57 AM
I know, I was in a hurry and I didn't express precisely what I ment. Having the full set of symbols for WinXP debugging requires downloading of a file 172 Megz large. :)
Title: Re: Process dumping
Post by: Grok on February 20, 2003, 10:33 AM
Why do you keep saying debugging and debugger's aren't related to assembly?  Is not a debugging a huge part of assembly language programming?  Or is this forum "assembly language coding and compiling stages only"?
Title: Re: Process dumping
Post by: Adron on February 20, 2003, 04:47 PM
Debugging and debuggers don't need to be related to assembly. They could be. It all depends on what you're debugging. This forum will of course cover machine code/assembler level debugging, but it may not cover managed code debugging :P