Welcome, Guest. Please login or register.

Author Topic: "Debug tools"  (Read 1844 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline AmigaManceTopic starter

  • Hero Member
  • *****
  • Join Date: Apr 2005
  • Posts: 1278
    • Show only replies by AmigaMance
"Debug tools"
« on: November 06, 2008, 06:36:53 PM »
  Hi.
 I have made a small dos script which i execute whenever i want to test a program and report any possible hits to its developer. This script runs the following tools:
SegTracker
MuForce
MuGuardianAngel and
Sashimi to redirect the output of these tools to a console window.

 Is this enough or should i add something else to the script?
 Are these tools good or are there any better replacements?
A1200 PPC user.
 

Offline Jose

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2869
    • Show only replies by Jose
Re: "Debug tools"
« Reply #1 on: November 06, 2008, 08:04:25 PM »
The most used ones are Enforcer and Mungwall, never tried the ones you listed but maybe they do the same thing ?
\\"We made Amiga, they {bleep}ed it up\\"
 

Offline AmigaManceTopic starter

  • Hero Member
  • *****
  • Join Date: Apr 2005
  • Posts: 1278
    • Show only replies by AmigaMance
Re: "Debug tools"
« Reply #2 on: November 06, 2008, 08:17:07 PM »
I don't know about Mungwall, but the doc of MuForce says that it replaces the old Enforcer.
A1200 PPC user.
 

Offline AmigaManceTopic starter

  • Hero Member
  • *****
  • Join Date: Apr 2005
  • Posts: 1278
    • Show only replies by AmigaMance
Re: "Debug tools"
« Reply #3 on: November 07, 2008, 10:04:16 AM »
 Ok, there are no further suggestions about what i asked, so i'm going to assume that the list of tools i'm using is complete and there are no better replacements for them or need for any additional ones. You see, i am a simple user, i have no coding knowledge.

 Btw, does any of you think that my new sig is irritating? Just say so if you do. I can remove it if some members finds it irritating. I don't know.. 2 threads in a row... anyway.
A1200 PPC user.
 

Offline ChaosLord

  • Hero Member
  • *****
  • Join Date: Nov 2003
  • Posts: 2608
    • Show only replies by ChaosLord
    • http://totalchaoseng.dbv.pl/news.php
Re: "Debug tools"
« Reply #4 on: November 07, 2008, 11:38:52 AM »
Here is my debug script that I have been using for years.
It is almost the same as yours.  I donno which is better: Sushi or Sashimi?

segtracker
run muforce stdio  DISPC
wait 4
run muguardianangel nametag nostackwarn SHOWHUNK DISPC
wait 3
run sushi asksave


You are the 1st software tester I have met who is interested in a debug script!!!  I have never been able to convince any of the 37 Total Chaos playtesters to use such a script.  You are welcome to test for me anytime.  :-)
Wanna try a wonderfull strategy game with lots of handdrawn anims,
Magic Spells and Monsters, Incredible playability and lastability,
English speech, etc. Total Chaos AGA
 

Offline AmigaManceTopic starter

  • Hero Member
  • *****
  • Join Date: Apr 2005
  • Posts: 1278
    • Show only replies by AmigaMance
Re: "Debug tools"
« Reply #5 on: November 07, 2008, 12:33:17 PM »
From what i read Sashimi is an enhanced Sushi replacement.
Your script is much similar to the one i'm using. Ok..
 I see that you have uploaded a new update of Total chaos on Aminet. I will give it a go when i find time and send you any debug logs from it.
A1200 PPC user.
 

Offline platon42

  • Hero Member
  • *****
  • Join Date: Jul 2002
  • Posts: 573
    • Show only replies by platon42
    • http://www.platon42.de/
Re: "Debug tools"
« Reply #6 on: November 07, 2008, 01:37:11 PM »
Quote

AmigaMance wrote:
  Hi.
 I have made a small dos script which i execute whenever i want to test a program and report any possible hits to its developer. This script runs the following tools:
SegTracker
MuForce
MuGuardianAngel and
Sashimi to redirect the output of these tools to a console window.

 Is this enough or should i add something else to the script?
 Are these tools good or are there any better replacements?


SegTracker should be running right after SetPatch -- otherwise it will not find the hunks most common libraries loaded. It does no harm to system performance, so you can also run it without debug sessions.

Sashimi can and should be started first in case something happens right after the start of MuForce or MuGuardianAngel.
MuGuardianAngel already contains the functionality of MungWall, so this is not needed. In my script, I also increase the lines of disassembly and other stuff, but I don't have it right here for posting.

I also really recommend Piru's SmartCrash tool as standard equipment. Laire's Barfly also has a great debugger.
--
Regards, Chris Hodges )-> http://www.platon42.de <-(
hackerkey://v4sw7CJS$hw6/7ln6pr7+8AOP$ck0ma8u2LMw1/4Xm5l3i5TJCOTextPad/e7t2BDMNb7GHLen5a34s5IMr1g3/5ACM
 

Offline AmigaManceTopic starter

  • Hero Member
  • *****
  • Join Date: Apr 2005
  • Posts: 1278
    • Show only replies by AmigaMance
Re: "Debug tools"
« Reply #7 on: November 07, 2008, 02:30:31 PM »
@Platon42
 I see. Thanks :-)
A1200 PPC user.
 

Offline JosDuchit

  • Newbie
  • *
  • Join Date: May 2010
  • Posts: 1
    • Show only replies by JosDuchit
Re: "Debug tools"
« Reply #8 on: August 19, 2012, 05:31:19 PM »
would it be possible to post script used today?
Especially for OS4
 

Offline DrCinicus

  • Newbie
  • *
  • Join Date: Apr 2012
  • Posts: 2
    • Show only replies by DrCinicus
Re: "Debug tools"
« Reply #9 on: August 20, 2012, 09:53:22 PM »
Other debug tools:

http://aminet.net/dev/debug/PatchWork.lha

 it's useful to find errors in OS calls

http://aminet.net/dev/debug/CodeWatcher.lha

 to check allocations and releases of OS resources.

 Bye
 Fabio