News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

PDB Explore

Started by KetilO, May 27, 2009, 01:46:21 PM

Previous topic - Next topic

drizz

Quote from: UtillMasm on June 06, 2009, 04:27:07 PM
:U
beautiful!
but for me (debug beginer):
include stdio.inc
include stdlib.INC
include commctrl.inc

what are they?
Quote from: drizz on June 03, 2009, 05:12:20 PM
P.S.:  Demo is using japheth's includes and msvcrt funcs.
http://www.japheth.de/Win32Inc.html

i'm attaching my lib also, (it only uses few macros from it nothing else)

[attachment deleted by admin]
The truth cannot be learned ... it can only be recognized.

UtillMasm

 :U
for 'RADbgConsole.rap' or 'RADbgConsole.Asm' and or 'cmd.linker':
why not specifiy EntryPoint symbol?
btw: what about my english? :wink

drizz

Entrypoint is in msvcrt, search the board for topics about linking with c runtime...
The truth cannot be learned ... it can only be recognized.

UtillMasm

my masm32 is v9, v10 is needed?

[attachment deleted by admin]

drizz

Local parameters and arguments can be inspected by calling
SymSetContext + SymEnumerateSymbols (or the newer SymEnumSymbols)

I'm currently looking into dbghelp funcs trying to figure out their usage, the newer 64bit compatible functions need manual adjustment in the include file and also working with 64bit arguments is not fun. Furthermore structure fields must be aligned on qword boundary or results come up wrong (for example "SYMBOL_INFO   struct QWORD").

I've found another article with source from Matt Pietrek that focuses on dbghelp functions:
http://msdn.microsoft.com/en-us/magazine/cc301692.aspx
i get 404 for souce code "Hood0203.exe", but quick search yields this page with the same file:
http://blog.csdn.net/deeplymove/archive/2007/04/20/1572473.aspx



The truth cannot be learned ... it can only be recognized.

KetilO

Thanks drizz

Your example helped a lot.

KetilO