Tracer: a program to debug binaries (DLL's, etc...)
A command line program to automatically add debug output code to PB souces. Written to help tracing
(and simply profiling) programs that can not be debugged in the PB IDE (es. dlls).
Written in PureBasic 4.40 B3 (x86) - (see www.purebasic.com). 
Code and binary are provided FREEWARE. Use and modify at YOUR OWN WISH and RISK.

Sample code is provided. In addition an include file is provided with a few Timer functions, usefull for code profiling (even if code speed is affected by tracing instructions)

New features/Changes:
- ver. 0.0.3.0: SEE TABLE BELOW
- ver. 0.0.2.0: SEE TABLE BELOW

Current limitations/things to develop:
  - Show ProcedureResult parameter
 - Variable viewer
 - More debugging features (if required)


INSTALLATION:
---------------

- Just explode the file in the any folder and run Tracer.exe.

IMPORTANT: This program doesn't make any change to your folders (system or not). It just read the input file and creates the output files where you want

UNINSTALLATION:
---------------------
- Just remove the folder(s).
                                                                                                                                                                                                                       

Link Date Description Pictures
Next Development ????Waiting for comments and suggestions 

Tracer_v0030.zip02-Oct-2009
- some bugs fixed
- added SendToWnd & SendToClipB features
- added progressbar
- improved output readebility

Tracer_v0020.zip05-Sep-2009- Recursively manage IncludeFile and InlcudePath (all duplicated as to _$_FileName.ext)
- Added File Properties
- Incorporated TracerAux.pbi (no need of external file)
- Added some command line parameters
        SameDestFolder, AddRunInfo, ScanIncludeFiles
- Added TestCompile
command line parameter
        to test outputcode after Tracing

- Added various source code Directives
- Modified behaviour with some PB keywords
        Select/case, Loops instructions
- Fixed some bugs

Tracer.zip

31-Aug-2009First Issue (pls report any bugs to the author)



7 (+1) STEPS TUTORIAL:

STEP 1: INSTALL THE TOOL


STEP 2: INSTALL THE ICON (IN THE IDE)



STEP 3:TAKE THE PB CODE (es. EnTimer.pbi included or write your own)




STEP 4: RUN TRACER (AND PRAY IT WORKS)


STEP 5: ENJOY (???) THE RESULT 


STEP 6: RUN (AND CONFIGURE) DEBUGVIEW (COPYRIGHT @ BY SYSINTERNALS - FREE)


STEP 7: RUN THE CODE AND READ (???) THE DEBUG OUTPUT


STEP 8: OPTIONAL: SEND COMMENTS (FAIR), CLAIMS (EASY), BUGS (MUCH EASIER), IMPROVEMENTS (SURE) AND COMPLIMENTS (VEEERY DIFFICULT)
            TO: somic@libero.it (www.semelinanno.com)

IF YOU HAVE TIME TO WASTE: READ THE HELP SCREEN