[comp.sys.amiga] WACK, where to get it?

d1b-khd@sm.luth.se (d1b-khd) (06/01/88)

When I recently started to read about how to debug a program on
the Amiga I've come across references to a program called "WACK".

But I've never seen where I could get hold to a copy of it and that
is my problem.

And now a few questions about WACK 

Is it PD or shareware or is it a commercial product and if it is
what's the price?

Is it a good 'symbolic' debugger or is there something better on the market.
(I program in C using Lattice V4.0)

> Karl <

PS.  I've used the ROMWack and it didn't give me answers to all the
     questions I have.


<$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$>
< Karl 'Kalle' Hultland    <$> d1b-khd@luth.UUCP |                           >
< Dept. of Comp. sci.      <$> d1b-khd@sigma.luth.se |                       >
< University of Lulea      <$> {uunet,mcvax}!enea!sigma.luth.se!d1b-khd      >
< Sweden                   <$>                                               >
<$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$>
<      If two people agree on EVERYTHING , one of them is OBSOLETE!!         >
<$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$>

eric@cbmvax.UUCP (Eric Cotton) (06/03/88)

In article <153@sigma3.luth.se> <d1b-khd@sigma.luth.se> writes:
>When I recently started to read about how to debug a program on
>the Amiga I've come across references to a program called "WACK".
>
>But I've never seen where I could get hold to a copy of it and that
>is my problem.

WACK and many other useful AMIGA software development tools will soon be
available from CATS (most likely) RSN - or at least PSN (Pretty Soon Now).
When it is available I'm sure it'll announced in AmigaMail and/or the net.
There are a lot of preliminary, buggy, incomplete versions floating around.
Also, a mini WACK called ROMWack is in the AMIGA ROM.

>And now a few questions about WACK 
>
>Is it PD or shareware or is it a commercial product and if it is
>what's the price?

It is (or will be) a commercial product available from Commodore (see
above).  The price has yet to be determined.

>Is it a good 'symbolic' debugger or is there something better on the market.
>(I program in C using Lattice V4.0)

It is a symbolic debugger.  And it has macro capability.  SDB is a good
source-level avalable from MANX.

>> Karl <
>
>PS.  I've used the ROMWack and it didn't give me answers to all the
>     questions I have.

You have further questions about ROMWack?  Send 'em in!

-- 
Eric Cotton
Commodore-Amiga						      (215) 431-9100
1200 Wilson Drive			 {rutgers|ihnp4|allegra}!cbmvax!eric
West Chester, PA 19380		  "I don't find this stuff amusing anymore."

ewhac@well.UUCP (Leo 'Bols Ewhac' Schwab) (06/06/88)

In article <3922@cbmvax.UUCP> eric@cbmvax.UUCP (Eric Cotton) writes:
>WACK and many other useful AMIGA software development tools will soon be
>available from CATS (most likely) RSN - or at least PSN (Pretty Soon Now).

	Ar ar ar.							:-)

>Also, a mini WACK called ROMWack is in the AMIGA ROM.
>
	...Which doesn't work on a 68020, I found out.  It's kind of
amusing.  The system Gurus, you click the right mouse button to drop into
ROMWack and debug it, and the system Gurus again with a completely different
code.  Rinse.  Repeat.

_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
Leo L. Schwab -- The Guy in The Cape  ihnp4!pacbell -\
 \_ -_		Recumbent Bikes:	      dual ---> !{well,unicom}!ewhac
O----^o	      The Only Way To Fly.	      hplabs / (pronounced "AE-wack")
"Hmm, you're right.  Air is made up of suspended meat loaf."  -- Josh Siegel

G35@DHDURZ1.BITNET (Guenther Werner) (06/10/88)

In article  <10227@cisunx.UUCP> ejkst@cisunx.UUCP (Eric Kennedy) writes:
>Does this also happen with a 68010?  I haven't been able to get into
>ROMWack with the right mouse button.  Isn't there also supposed to be a
>way to get into it with the DEL key?  The only method that I've gotten
>to work is loadwb -debug.  And even that is touchy--it likes to guru
>when using [ and ] to trace a linked list.
>Is it me?  Is it my 68010?  Is it ROMWack?

If you can call RomWack from the Workbench debug menu, it also should work
after a guru. I guess you have a memory expansion (or a A/B2000). This is
the usual Alert() bug that makes recoverable Alerts crash if $c00000 memory
is attached.
 Programs like 'SetAlert' or 'Patch_1' do only patch the Alert() function
to make recoverable alerts work again, but they do not patch
ExecBase->TaskTrapCode.
 Here is a small patch to handle processor traps. If a processor exeption
is found and you select 'cancel' on the 'Task held...' requester, the actual
screen is pushed down (and not blanked) to place the alert message at the
top of the screen. If you press the right mouse button the Amiga jumps into
RomWack (you still need a 9k6 terminal), press left MB to reboot. I added
a 'division by zero' hack, so you can check the difference with and w/o
the patch.

--------------------------------------------------------------------------
begin 644 ProPat
M```#\P`````````"``````````$````3````&````^D````3*&H!"'`,3I4D!
M/````#0F/````!@H:O_H<`Q.E2!X``0A?``````!,$'Y`````$*H__Q.=5!R0
M;V-E<W-O<BUT<F%P<R!P871C:&5D"@```^P````"``````````H````J````]
M`0````$````B`````````_(```/I````&$CX__\!@$OO``(@.``$"````&8&H
M($!+Z`$4+A<"AP``__\S_$```-_PFB`\2$5,4+"X``!F!D[Y`/PP7B'```!!8
C^`$`(,<@.``$(@`"@?\```%G!D[Y`/PP7D[Y`/PP!@```_+Y&
``
end
size 260
--------------------------------------------------------------------------
begin 644 DivisionByZero
L```#\P`````````!```````````````"```#Z0````)"@(+`3G5.<0```_(`B
``
end
size 44
--------------------------------------------------------------------------

Hope this helps
-Werner

mph@rover.UUCP (Mark Huth) (06/15/88)

In article <10227@cisunx.UUCP> ejkst@unix.cis.pittsburgh.edu (Eric J. Kennedy) writes:
>In article <6181@well.UUCP> ewhac@well.UUCP (Leo 'Bols Ewhac' Schwab) writes:

>Does this also happen with a 68010?  I haven't been able to get into
>ROMWack with the right mouse button.  Isn't there also supposed to be a
>way to get into it with the DEL key?  The only method that I've gotten
>to work is loadwb -debug.  And even that is touchy--it likes to guru
>when using [ and ] to trace a linked list.  

I've not used ROMWACK in some time, but I found that it was necessary
to have pre-loaded the serial device before the guru - my debug
startup script copied some garbage to the serial port.

I've used it with a 68010 with no problems.

Mark Huth