Tracer: a program to debug DLLs

Applications, Games, Tools, User libs and useful stuff coded in PureBasic
somic
User
User
Posts: 66
Joined: Sun Jun 29, 2008 9:11 am
Location: Italy
Contact:

Tracer: a program to debug DLLs

Post by somic »

Hi to everyone,

after spending hours struggling to debug DLL's, I've decided to create a small tool to trace program code.
It is a command line program to automatically add debug output code to PB souces.
Written in PureBasic 4.31 (x86) -
Code and binary are provided FREEWARE to this wonderfull comunity.
Use and modify at YOUR OWN WISH and RISK :-).

Run Tracer /h for help file (program has tons of parameters)

Sample code is provided. In addition an include file is provided with Timer functions, usefull for code profiling.

Still under construction. Feel free to report bugs, suggestions and critics.

Regards,
Somic

Notes:

NEW File (ver. 0020) can be found here:
http://www.semelinanno.com/downloads/tr ... _v0020.zip
(see post dtd 6/9/09)

Tracer page here:
http://www.semelinanno.com/downloads/tr ... _Page.html

File can be downloaded from here (first issue):
http://www.semelinanno.com/downloads/tracer/Tracer.zip

DebugView by Sysinternals can be found here:
http://download.sysinternals.com/Files/DebugView.zip

My website is here (has more programs and codes)
www.semelinanno.com
Last edited by somic on Sun Sep 06, 2009 12:37 am, edited 1 time in total.
rsts
Addict
Addict
Posts: 2736
Joined: Wed Aug 24, 2005 8:39 am
Location: Southwest OH - USA

Post by rsts »

Thanks for the file.

BTW I love the pictures. I see why they're your favorites.

cheers
User avatar
idle
Always Here
Always Here
Posts: 5899
Joined: Fri Sep 21, 2007 5:52 am
Location: New Zealand

Post by idle »

thanks, could be very handy for dll debugging woes.
Oh yes and nice favorite pictures too!
somic
User
User
Posts: 66
Joined: Sun Jun 29, 2008 9:11 am
Location: Italy
Contact:

Post by somic »

News:

- Made small changes :!:
- Added 7 steps tutorial 8)
- Had fun with your comments :P
- Improved the favorite pictures :wink:


Regards,
Somic
Mistrel
Addict
Addict
Posts: 3415
Joined: Sat Jun 30, 2007 8:04 pm

Post by Mistrel »

Impressive. Thanks for sharing!

Love the favorite pictures, too. :D

I'm browsing your other excellent code snippets too. Can you fix the link for the image on this page?

http://www.semelinanno.com/downloads/an ... _Page.html
somic
User
User
Posts: 66
Joined: Sun Jun 29, 2008 9:11 am
Location: Italy
Contact:

Post by somic »

Hi Mistrel,

thank you for your words.
I've learned a lot from this forum (not only code) and I hope to give something back.

I checked the page and all the links seem OK.
Also the picture is properly shown in my browser.

However, I've made a small change to the property of the page in the file and added a link to it. Pls try it and let me know if it doesn't work.

Rgds,
Mistrel
Addict
Addict
Posts: 3415
Joined: Sat Jun 30, 2007 8:04 pm

Post by Mistrel »

Yes, the image works now. Thank you. :)
somic
User
User
Posts: 66
Joined: Sun Jun 29, 2008 9:11 am
Location: Italy
Contact:

Post by somic »

Hello Everyone,

I've made some development of the tool.

Hera is a summary of the changes:
- Recursively manage IncludeFile and InlcudePath (all renamed 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

Hope you will find it usefull.

Let me have you comments and bugs at your wish.

New Files can be downloaded from here:
http://www.semelinanno.com/downloads/tr ... _v0020.zip

The Page is here:
http://www.semelinanno.com/downloads/tr ... _Page.html

My website is here (has more programs and codes)
www.semelinanno.com

I've added the new link also in the first post.

Somic
Post Reply