First attempt with a script I wrote
[enrico@enrico-imac zz]$lldb -- rexx unxmit FILE206.xmi (lldb) target create "rexx" Current executable set to 'rexx' (x86_64). (lldb) settings set -- target.run-args "unxmit" "FILE206.xmi" (lldb) run Process 4488 launched: '/Users/enrico/rxapi/bin/rexx' (x86_64) unxmit - Started : 23:03:45 unxmit - Input : FILE206.xmi unxmit - $$cbtdoc recds( 145) bytes( 8231) file(FILE206/$$cbtdoc.txt) unxmit - $$pcdoc recds( 139) bytes( 7895) file(FILE206/$$pcdoc.txt) unxmit - $updjcl recds( 16) bytes( 593) file(FILE206/$updjcl.txt) unxmit - dcoljcl recds( 118) bytes( 3560) file(FILE206/dcoljcl.txt) unxmit - parsrtn recds( 80) bytes( 3549) file(FILE206/parsrtn.txt) unxmit - rexxrtn recds( 2837) bytes( 103188) file(FILE206/rexxrtn.txt) unxmit - Ended : 23:03:45 Elapsed : 0 ***** Process 4488 stopped * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0) frame #0: 0x00000001003f7c48 librexxapi.5.0.0.dylib`ApiConnection::~ApiConnection(this=0x0000000101500190) at CSStream.hpp:64 61 { 62 public: 63 inline ApiConnection() : errcode(CSERROR_OK), messageBuffer(NULL) { } -> 64 inline ~ApiConnection() { disconnect(); if (messageBuffer != NULL) { free(messageBuffer); } } 65 66 inline CSErrorCodeT getError() 67 { Target 0: (rexx) stopped. (lldb) frame info frame #0: 0x00000001003f7c48 librexxapi.5.0.0.dylib`ApiConnection::~ApiConnection(this=0x0000000101500190) at CSStream.hpp:64 (lldb) frame 0 invalid command 'frame 0'. (lldb) frame select 0 frame #0: 0x00000001003f7c48 librexxapi.5.0.0.dylib`ApiConnection::~ApiConnection(this=0x0000000101500190) at CSStream.hpp:64 61 { 62 public: 63 inline ApiConnection() : errcode(CSERROR_OK), messageBuffer(NULL) { } -> 64 inline ~ApiConnection() { disconnect(); if (messageBuffer != NULL) { free(messageBuffer); } } 65 66 inline CSErrorCodeT getError() 67 { (lldb) frame variable (SysLocalSocketConnection *) this = 0x0000000101500190 (lldb) quit Quitting LLDB will kill one or more processes. Do you really want to proceed: [Y/n] Y [enrico@enrico-imac zz]$ The interrupt occurs after a say “*****" When processing the exit instruction, Changing the exit to a return did not change anything And now the result with the test suite, [enrico@enrico-imac ooRexx.tests.svn]$lldb -- rexx testOORexx.rex -s -X native_api (lldb) target create "rexx" Current executable set to 'rexx' (x86_64). (lldb) settings set -- target.run-args "testOORexx.rex" "-s" "-X" "native_api" (lldb) r Process 4562 launched: '/Users/enrico/rxapi/bin/rexx' (x86_64) Searching for test containers.... Executing automated test suite Executing tests from .../enrico/ooRexx.tests.svn/ooRexx/SimpleTests.testGroup Executing tests from .../ooRexx/extensions/hostemu/hostemu.testGroup Executing tests from .../extensions/platform/unix/rxunixsys/SysUnix.testGroup Executing tests from .../ooRexx/extensions/rxsock/socketClass.testGroup Executing tests from .../ooRexx/extensions/rxregexp/rxregexp.testGroup Executing tests from .../ooRexx.tests.svn/ooRexx/extensions/json/json.testGroup Executing tests from .../ooRexx/extensions/rxmath/RxMath.testGroup Executing tests from .../ooRexx/utilities/rxqueue/rxQueue.testGroup Process 4562 stopped * thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGPIPE frame #0: 0x00007fff711a9de2 libsystem_kernel.dylib`__sendto + 10 libsystem_kernel.dylib`__sendto: -> 0x7fff711a9de2 <+10>: jae 0x7fff711a9dec ; <+20> 0x7fff711a9de4 <+12>: movq %rax, %rdi 0x7fff711a9de7 <+15>: jmp 0x7fff711a0b0e ; cerror 0x7fff711a9dec <+20>: retq Target 0: (rexx) stopped. (lldb) frame info frame #0: 0x00007fff711a9de2 libsystem_kernel.dylib`__sendto + 10 (lldb) frame select 0 frame #0: 0x00007fff711a9de2 libsystem_kernel.dylib`__sendto + 10 libsystem_kernel.dylib`__sendto: -> 0x7fff711a9de2 <+10>: jae 0x7fff711a9dec ; <+20> 0x7fff711a9de4 <+12>: movq %rax, %rdi 0x7fff711a9de7 <+15>: jmp 0x7fff711a0b0e ; cerror 0x7fff711a9dec <+20>: retq (lldb) frame variable (lldb) q Do You have enough hints to proceed E
_______________________________________________ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel