Re: print_depth

From: Kish Shen <ks15_at_icparc.ic.ac.uk>
Date: Wed 21 Aug 2002 12:14:48 PM GMT
Message-Id: <E17hUNs-0002yA-00@holborn.icparc.ic.ac.uk>
Sabastian,

>When debugging, the term print depth defaults to 5

This is correct. I don't think there is a way to change this default.

The reason that it is default to 5 is that in general, with larger print
depths, the goal become so large that you can't usefully visually inspect it.
The idea is that if you want to examine a goal in more detail, you would use
the inspect subterm facilities to do so: when you come to the goal you are
interested in and it has a large structure you want to examine, then you step
into it using inspect subterm. Have you use this before, or is it not
suitable for you?

>The manual describes this incorrectly, I think.

Which part of the manual is incorrect? We would like to fix it if it is wrong.
I just looked at the debug chapter of the user manual, and it does correctly
say that the debugger has its own private print depth, different from the
global setting...

>I am quite a happy user of the command line interface of Eclipse, but

Might I suggest you try TkECLiPSe? The debugger has many nice features not
found (or possible) in the command line interface, although you also can
set the debug print depth default there.

Cheers,

Kish Shen
Received on Wed Aug 21 13:14:50 2002

This archive was generated by hypermail 2.1.8 : Wed 16 Nov 2005 06:08:17 PM GMT GMT