27 October 2012, 11:46 | #1 |
Registered User
Join Date: Jul 2009
Location: Lala Land
Posts: 520
|
Logging Arexx commands with tco/ts
Hi,
I'm using the 'tco' interactive console, and the 'ts' command, to monitor arexx communication between two programs. Unhelpfully, the logged lines are clipped. Code:
1 *-* P$2323232 blah blah blah... >>> "P$2323232 blah blah blah..." Cheers. |
27 October 2012, 18:22 | #2 |
Registered User
Join Date: Oct 2009
Location: Germany
Posts: 3,303
|
Yes, would be cool to have full line lenght visible. Second choice is to use "trace i" for tracing.
|
28 October 2012, 01:08 | #3 |
Registered User
Join Date: Jul 2009
Location: Lala Land
Posts: 520
|
It gets reset with every incoming line. Is there a way around this?
e.g. >+> trace i >+> echo trace() I ..... >+> echo trace() ?R |
28 October 2012, 09:55 | #4 |
Registered User
Join Date: Oct 2009
Location: Germany
Posts: 3,303
|
Just put "trace i" on top of your script or where do you need it and then start TCO. Have a look into an ARexx book or ARexx Guide from aminet about trace funktion. But "trace i" isn`t a solution. It just gives sometimes more information.
Last edited by daxb; 28 October 2012 at 10:21. |
29 October 2012, 00:29 | #5 |
Registered User
Join Date: Jul 2009
Location: Lala Land
Posts: 520
|
Ah, let me be clearer. I have two applications I did not write myself. Let me call the first "disassembler". And the second "debugger". If you load an executable in the disassembler, and then in the debugger, the debugger and disassembler will communicate via Arexx. When the debugger traces execution, it tells the disassembler and the disassembler updates it's display and annotates the disassembly. And so on.
However, the communication doesn't always seem to happen with different executables. So I wish to see what the communication actually is. I am unable to have either of these applications use Arexx differently. Do I have any other options? I've read quite a bit of Arexx documentation with little insight into other approaches. |
29 October 2012, 11:51 | #6 |
Registered User
Join Date: Oct 2009
Location: Germany
Posts: 3,303
|
AmigaOS ARexx book says that TS sets RESULTS as trace option unless it is currently set to INTERMEDIATES or SCAN. Then trace option won`t change. But I don`t know how to handle this.
If the tow applications use ARexx scripts for communication you could set "trace i" infront of but I guess the don`t. However, this won`t help to avoid clipping the log lines. Better would be to abolish the max lenght limit. I don`t know what is responsible for it. RexxMast, TCO, rexxsyslib.library, ...? Maybe someone could patch that?! I`ve already an hex edited RexxMast that can use KingCON for trace console. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
AREXX Help | Zetr0 | support.Other | 2 | 26 January 2011 23:09 |
arexx help | jimbobrocks92 | Coders. General | 4 | 19 January 2011 12:50 |
Who can program an xDMS clone with logging ability? | andreas | Coders. General | 10 | 08 October 2003 18:23 |
Arexx | Seti | Coders. General | 2 | 05 August 2003 18:59 |
|
|