[comp.lang.pascal] What should I do?

mitch@arcturus.UUCP (Mitchell S. Gorman) (01/18/89)

I have been using TP4.0 for some time, and recently (actually 4 months
ago) got TC1.5.

My questions are:
	1)	Will the Debugger work with those versions of the
		languages?

	2)	If so, is there any real justification for upgrading
		to 5.0/2.0?  What are the big diffs between 4.0 and
		5.0?  (I'm much more familiar with TP than TC, so 
		pls. address this question with that in mind.)

Obviously, if the answer to 1 is no, then the second question is moot:
I'll have to upgrade.  But if I can get away with a $95 outlay for a 
source debugger for the versions I've got ->  :^) :^) :^), ya know
what I mean??



	AtDhVaAnNkCsE


	Mitch @ Rockwell, Anaheim

To err is human, to really screw things up takes a politician.

schanck@rose.cis.ohio-state.edu (Christopher Schanck) (01/19/89)

I also have to admit to being interested in whether or not the standalone
debugger will work with TP 4.0 & TC 1.5. This would be nice!

Chris

-=-
"My brain is NOT a deadlock-free environment!!!!"
--- Christopher Schanck, mammal at large.
schanck@flounder.cis.ohio-state.edu

asickels@bonnie.ics.uci.edu (Alan Sickels) (01/19/89)

In article <3422@arcturus> mitch@arcturus.UUCP (Mitchell S. Gorman) writes:
>
>I have been using TP4.0 for some time, and recently (actually 4 months
>ago) got TC1.5.
>
>My questions are:
>	1)	Will the Debugger work with those versions of the
>		languages?
>
>	2)	If so, is there any real justification for upgrading
>		to 5.0/2.0?  What are the big diffs between 4.0 and
>		5.0?  (I'm much more familiar with TP than TC, so 
>		pls. address this question with that in mind.)
>
>Obviously, if the answer to 1 is no, then the second question is moot:
>I'll have to upgrade.  But if I can get away with a $95 outlay for a 
>source debugger for the versions I've got ->  :^) :^) :^), ya know
>what I mean??

The TD will debug any .COM or .EXE file.  However.... TP 5.0 and TC 2.0
have a new option for compiling: Standalone Debugging.  This makes the
program file a bit larger because it puts extra info at the end of it that
TD uses for source level debugging.  If the info isn't there, you have to
do assembly level debugging (Bleah!!).

So the option is yours, do you want to debug a 32K file by assembly or pay
the $95 and get a VERY powerful source level debugger.

NOTE:  I realize this is in all the ads, but let me restate:  TP 5.0 and
TC 2.0 have source level debugging built into the integrated environment.
However, because of memory constraints, it is a relatively sparse debugger.
On the other hand, the Turbo Debugger does nothing but debugging and is
therefore A LOT more powerful.  You can even see the assembly code that
each pascal statement generates.

The decision is yours.

Alan Sickels

wei@hpctdls.HP.COM (Bill Ives) (01/20/89)

    The new versions of both TP and TC are required for source level
    debugging of code since each include extra ( a lot extra ) info
    in the exe file.  You can debug programs generated by TC 1.5 and TP 4.0
    but you will have to debug it at the assembly language level since
    no source level info exist in the exe.

    - Bill Ives
      HP CTD
     
    #include <standard-disclaimer>

mike@raven.TELCOM.TEK.COM (Mike Ewan) (01/20/89)

No.  The Turbo debugger will not work with TP4.0.  I was interested myself
so I went down to the local software store and looked at the manual for TP5.
It explicitly states the TP5.0 is required for the debugger.

There is a PD debugger for TC1.5 though.  It sort of works.  You can set break
points and look at simple variables, but you can't look at complex (struct's).


-- 
 Michael Ewan                         ucbvax...\ 
 Tektronix Inc.                       decvax....\
 (503) 627-6468                    uw-beaver.... >!tektronix!nesa!raven!mike
 mike@raven.TELCOM.TEK.COM             uunet..../

leonard@bucket.UUCP (Leonard Erickson) (01/20/89)

In article <3422@arcturus> mitch@arcturus.UUCP (Mitchell S. Gorman) writes:
<
<I have been using TP4.0 for some time, and recently (actually 4 months
<ago) got TC1.5.
<
<My questions are:
<	1)	Will the Debugger work with those versions of the
<		languages?

Poorly, you'll have to use the MAP files and I'm not sure how well
that'll work. Besides, with the new versions you have a debugger in
the IDE. Not as good as the standalone but good for a lot of stuff.

<	2)	If so, is there any real justification for upgrading
<		to 5.0/2.0?  What are the big diffs between 4.0 and
<		5.0?  (I'm much more familiar with TP than TC, so 
<		pls. address this question with that in mind.)

They've added some functions and procedures (the only ones that come
immediately to mind are the one for getting environment variables),
they also added 8087 emulation in software, and support for overlays.
Overlays can reside io EMS memory...

<Obviously, if the answer to 1 is no, then the second question is moot:
<I'll have to upgrade.  But if I can get away with a $95 outlay for a 
<source debugger for the versions I've got ->  :^) :^) :^), ya know
<what I mean??

A deal that they've got but aren't advertising is TC 2.0, TP 5.0, and
the assembler and debugger for $200 if you are upgrading TC *or* TP.
(I may have the price wrong, but it was $50 more than the Professional
upgrade...)

-- 
Leonard Erickson		...!tektronix!reed!percival!bucket!leonard
CIS: [70465,203]
"I used to be a hacker. Now I'm a 'microcomputer specialist'.
You know... I'd rather be a hacker."

bga@bgalli.UUCP (Billy G. Allie) (01/21/89)

In article <3422@arcturus>, mitch@arcturus.UUCP (Mitchell S. Gorman) writes:
> 
> I have been using TP4.0 for some time, and recently (actually 4 months
> ago) got TC1.5.
> 
> My questions are:
> 	1)	Will the Debugger work with those versions of the
> 		languages?
>   ...
>
> Obviously, if the answer to 1 is no, then the second question is moot:

The TP 4.0 and TC 1.5 compilers do not generate the information needed by
the debugger to allow source level debugging.  You can, of course, use the
debugger on the generated machine code :-> (I would recommend upgrading).
___________________________________________________________________________
____		Billy G. Allie		Internet..: bga@bgalli.eds.com
|  /|		7436 Hartwell		UUCP......: {mcf|edsews}!bgalli!bga
|-/-|-----	Dearborn, MI 48126	Compuserve: 76337,2061
|/  |LLIE	(313) 582-1540		Genie.....: BGALLIE

Aron_Fingers_Nelson@cup.portal.com (01/22/89)

Turbo Power Software makes a debugger (excellent!) for Turbo Pascal
4.0. It will only work with Tp4 and *not* with TC 1.5.
The debugger is easy to use and quite fast.
I got mine when I was using Turbo4 and now do not need it because I now
have Turbo 5. 

If you're interested e-mail to:

aron_nelson@cup.portal.com

p.s. the debugger is called Tdebug Plus 4.0
They are located in Scotts Valley.

mitch@arcturus.UUCP (Mitchell S. Gorman) (01/24/89)

I really appreciate the response to my question.  I guess upgrading is
the way to go.  I have absolutely no desire to try to debug at assem-
bly level.  If I wanted to work with assembly again, I'd be coding
in 'C'!!!  B^)


Once again, thanx to all!