flat assembler
Message board for the users of flat assembler.

Index > Windows > FASM debugging

Author
Thread Post new topic Reply to topic
IceStudent



Joined: 19 Dec 2003
Posts: 60
Location: Ukraine
IceStudent
Hello all!

How I can to debug windows applications, compiled at FASM?

I use the OllyDbg usually, but this debugger can't understand the MAP-files yet.

May be alternative way is?
Post 09 Aug 2004, 13:58
View user's profile Send private message Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3500
Location: Bulgaria
JohnFound
Well, the sollution is comming. I am talking about Fresh project that have source level debugger especially for FASM. Unfortunately it is not finished yet, so it is not very usefull. For now I am using OllyDbg with "goto address" function of Fresh (ctrl+g) that positions the source on the line with given address. Also "labels explorer" can help in some cases.

Regards.
Post 09 Aug 2004, 14:05
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
IceStudent



Joined: 19 Dec 2003
Posts: 60
Location: Ukraine
IceStudent
I mean, I want to map the 'symbolic names' from MAP-file to addresses at OllyDbg for help me to view the variables, functions, etc.

Of course, I want to know, how create macros that produce the symbolic names of variables and other labels.

Thanks
Post 09 Aug 2004, 14:43
View user's profile Send private message Reply with quote
Foamplast



Joined: 07 May 2004
Posts: 36
Location: Saratov, Russia
Foamplast
Hi!

I use OllyDbg too. My solution is to export all names. Example:
Code:
SuperFuncA:

  Nop
  Ret

myvarX rd 1
    

You have to include next lines in your source:
Code:
Section 'export' readable writeable

data export

  export 'PROGNAME.EXE',\
    'SuperFunc','SuperFuncA',\
    'myvar','myvarX'

end data
    

And Olya will show you names of variables, functions, etc.
Post 09 Aug 2004, 20:21
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar.

Powered by rwasa.