flat assembler
Message board for the users of flat assembler.

Index > Projects and Ideas > FASMbug

Author
Thread Post new topic Reply to topic
Akujin



Joined: 11 Oct 2011
Posts: 26
Location: Exile
Akujin 27 Oct 2011, 22:41
Twisted Evil Akujin's FASMbug alpha 0.0.1.0

Real Time Debug Info Pack

Usage:
1) Copy fasmbug.dll and fasmbug.exe to c:\
2) Include in your sources fasmbug_ON.inc (*)
3) After entry point add DebInit macro.
4) Start adding debug macros:
Code:
PrintDec eax,"eax signed"
PrintUns eax,"eax unsigned"
PrintHex ebx,"ebx Hex"
PrintHex start,"entry Address"
PrintFlt eax,"Float"

;Format:
; PrintXXX YYY,ZZZ
; XXX any of Dec, Uns, Hex or Flt
; YYY Value to print, can be a reg, a constant or a variable (REQUIRED)
; ZZZ Descriptive Text (REQUIRED)
    


5) Assemble/Run the program, the debug window should appears (TOP MOST)
and show values from the macros in real time.
6) Close your App and close the debug window.

Check/Assemble sample.asm to see how it works.

Done debugging/study ?
Change fasmbug_ON.inc for fasmbug_OFF.inc, No need to remove macros manually.

* Need at least win32a.inc included first.
* Need LoadLibrary and GetProcAddress imported from kernel32.

Questions ?..
Suggestions ?..
BUGS ?..

Regards.


Description: Akujin's FASMbug Correct Path
Download
Filename: test.7z
Filesize: 5.74 KB
Downloaded: 727 Time(s)


_________________
CLI
HLT


Last edited by Akujin on 29 Oct 2011, 00:40; edited 1 time in total
Post 27 Oct 2011, 22:41
View user's profile Send private message Visit poster's website Reply with quote
Akujin



Joined: 11 Oct 2011
Posts: 26
Location: Exile
Akujin 29 Oct 2011, 00:33
What happens when you test multiple apps in the same folder?
S*** happens!

My bad! Sad


Description: Correct Path fasmbug.dll
Download
Filename: fasmbug.7z
Filesize: 1.03 KB
Downloaded: 721 Time(s)


_________________
CLI
HLT
Post 29 Oct 2011, 00:33
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-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.