1. ex.err truncation

Hi,

I see that very long sequences are truncated in the ex.err thats produced on a crash. Is it possible to turn off this truncation?

Cheers, Mark

new topic     » topic index » view message » categorize

2. Re: ex.err truncation

marky1124 said...

I see that very long sequences are truncated in the ex.err thats produced on a crash. Is it possible to turn off this truncation?

It is not currently possible to turn off this truncation. I wonder, should this be an option in 4.0?

Jeremy

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

3. Re: ex.err truncation

May be interesting that sequences become truncated on screen view, but complete on ex.err or alternative err file.

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

4. Re: ex.err truncation

I think that's a worthwhile consideration for 4.0. In addition I've found it very useful to use err_conv, which I found in the archive, written by Juergen Luethje. It allows one to convert the sequences in the standard ex.err into _either_ numbers or strings, to improve readability e.g.

ex.err:-

vOriginalAddr = { {85'U',78'N',73'I',84'T',32' ',50'2',32' ',53'5',47'/', 54'6',32' ',77'M',79'O',79'O',82'R',71'G',65'A',84'T',69'E',32' ',72'H', 65'A',76'L',76'L'}, {77'M',79'O',79'O',82'R',71'G',65'A',84'T',69'E',32' ', 76'L',79'O',78'N',68'D',79'O',78'N'}, {69'E',67'C',50'2',77'M',32' ',54'6',88'X',66'B'} }

Whereas the err_conv() routine produces to alternative ex.err files with sequences shows as strings in one, and numbers in the other:-

as strings, ex_conv.err:-

vOriginalAddr = { "UNIT 2 5/6 MOORGATE HALL", "MOORGATE LONDON", "EC2M 6XB" }

as numbers, ex_n.err:-

vOriginalAddr = { {85,78,73,84,32,50,32,53,47, 54,32,77,79,79,82,71,65,84,69,32,72, 65,76,76}, {77,79,79,82,71,65,84,69,32, 76,79,78,68,79,78}, {69,67,50,77,32,54,88,66} }

I think that sort of functionality would also be a worthwhile addition to 4.0.

Cheers, Mark

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

5. Re: ex.err truncation

jeremy said...
marky1124 said...

I see that very long sequences are truncated in the ex.err thats produced on a crash. Is it possible to turn off this truncation?

It is not currently possible to turn off this truncation. I wonder, should this be an option in 4.0?

Jeremy

I think a better solution is to write a routine that writes key variables to a file, and then link the routine in sing crash_routine(). This way, you get what you wish, and only that. Using both the custom file and ex.err should be good enough, or is it not?

CChris

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

6. Re: ex.err truncation

CChris said...

I think a better solution is to write a routine that writes key variables to a file, and then link the routine in sing crash_routine(). This way, you get what you wish, and only that. Using both the custom file and ex.err should be good enough, or is it not?

CChris

If it were done that way, I'd want the ability to indicate that I'd like all variables be written out.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu