flat assembler
Message board for the users of flat assembler.
  
       
      Index
      > Projects and Ideas > FASMbug | 
  
| Author | 
  | 
              
| 
                  
                   Akujin 27 Oct 2011, 22:41 
                  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. 
 _________________ CLI HLT Last edited by Akujin on 29 Oct 2011, 00:40; edited 1 time in total  | 
              |||||||||||
                  
  | 
              
| 
                  
                   Akujin 29 Oct 2011, 00:33 
                  What happens when you test multiple apps in the same folder?
 
        S*** happens! My bad! 
 _________________ CLI HLT  | 
              |||||||||||
                  
  | 
              
< Last Thread | Next Thread >  | 
    
Forum Rules: 
  | 
    
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.