[Pharo-dev] catching FFI errors

2014-09-25 Thread Ben Coman
I had a brief moment wondering about the general problem we have when calling out through FFI that we expose ourselves to bugs in the external library that crash the Image. I wonder... 1. Debuggers like gdb can run a program that crashes, without themselves itself crashing. Could our FFI

Re: [Pharo-dev] catching FFI errors

2014-09-25 Thread Ronie Salgado
Hello, 1. Debuggers like gdb can run a program that crashes, without themselves itself crashing. Could our FFI calls be wrapped in similar mechanism? I don't think so. A debugger does not run in the same process as the program being debugged. Also, you don't have any guarantee that you have