1. ADDING NEW DEBUG FEATURE in 2.4 ROB

Rob:
   Why don't you allow user to set the pretty print
   options for example:


  WITH PRETTY_OPTIONS

  PRETTY(sequence_of_options)

  Then all you need to do in source is use the user sequence
  options when dumping sequences in ex.err. This would
  allow users to dump out in hex, or not print the ascii, etc.

new topic     » topic index » view message » categorize

2. Re: ADDING NEW DEBUG FEATURE in 2.4 ROB

Hi Bernie, you wrote:

> Rob:
>    Why don't you allow user to set the pretty print
>    options for example:
>
>
>   WITH PRETTY_OPTIONS
>
>   PRETTY(sequence_of_options)
>
>   Then all you need to do in source is use the user sequence
>   options when dumping sequences in ex.err. This would
>   allow users to dump out in hex, or not print the ascii, etc.

Great!

Or maybe even simpler:

WITH PRETTY_OPTIONS (sequence_of_options)

Best regards,
   Juergen

-- 
 /"\  ASCII ribbon campain  |
 \ /  against HTML in       |  Superstition brings bad luck.
  X   e-mail and news,      |
 / \  and unneeded MIME     |

new topic     » goto parent     » topic index » view message » categorize

3. Re: ADDING NEW DEBUG FEATURE in 2.4 ROB

Nice ideia !


At 13:18 26/2/2003, you wrote:
>
>
>Rob:
>    Why don't you allow user to set the pretty print
>    options for example:
>
>
>   WITH PRETTY_OPTIONS
>
>   PRETTY(sequence_of_options)
>
>   Then all you need to do in source is use the user sequence
>   options when dumping sequences in ex.err. This would
>   allow users to dump out in hex, or not print the ascii, etc.
>
>
>
>
>TOPICA - Start your own email discussion group. FREE!

new topic     » goto parent     » topic index » view message » categorize

4. Re: ADDING NEW DEBUG FEATURE in 2.4 ROB

Great!

> Or maybe even simpler:

> WITH PRETTY_OPTIONS (sequence_of_options)

Juergen:

  Using my method would allow the user to
  change the format options at different
  points in a program.

Bernie

new topic     » goto parent     » topic index » view message » categorize

5. Re: ADDING NEW DEBUG FEATURE in 2.4 ROB

Bernie Ryan wrote:
>    Why don't you allow user to set the pretty print
>    options for example:
> 
> 
>   WITH PRETTY_OPTIONS
> 
>   PRETTY(sequence_of_options)
> 
>   Then all you need to do in source is use the user sequence
>   options when dumping sequences in ex.err. This would
>   allow users to dump out in hex, or not print the ascii, etc.

I imagine people would really want to control the format
per-variable, rather than setting the options for
their whole program, but I see what you mean.
I'll keep this issue in mind.

Regards,
    Rob Craig
    Rapid Deployment Software
    http://www.RapidEuphoria.com

new topic     » goto parent     » topic index » view message » categorize

6. Re: ADDING NEW DEBUG FEATURE in 2.4 ROB

Andy Serpa wrote:
> BTW, in your docs it should now say:
> 
>  '? x' is short-hand for pretty_print(1,x)
> 
> instead of "print(1,x)", unless I've misunderstood...

Thanks.
I'll correct that.
Actually, it's equivalent to: pretty_print(1, x, {})
where {} gives you the default options.

Regards,
    Rob Craig
    Rapid Deployment Software
    http://www.RapidEuphoria.com

new topic     » goto parent     » topic index » view message » categorize

7. Re: ADDING NEW DEBUG FEATURE in 2.4 ROB

Hi Bernie, you wrote:

>> Or maybe even simpler:
>
>> WITH PRETTY_OPTIONS (sequence_of_options)
>
> Juergen:
>
>   Using my method would allow the user to
>   change the format options at different
>   points in a program.

Using my method would allow this too... well, at least in my
imagination. smile

-----------------==-------------------------==-------------------------
WITH PRETTY_OPTIONS ({1})
...
WITH PRETTY_OPTIONS ({2})
...
WITHOUT PRETTY_OPTIONS  -- this probably would mean WITH default options
...
WITH PRETTY_OPTIONS ({0})
...
-----------------==-------------------------==-------------------------

This is just an idea. I actually don't know, if this is possible, or which
way of implementing that feature is better.

> Bernie

Best regards,
   Juergen

-- 
 /"\  ASCII ribbon campain  |  while not asleep do
 \ /  against HTML in       |     sheep += 1
  X   e-mail and news,      |  end while
 / \  and unneeded MIME     |

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu