Remote debugging on Console

Hi,

My Webapp is working when startet on OSX. Yesterday I installed a fresh Debian System (because normally I only use FreeBSD) for hosting this App.
But on Debian the App doesn’t do what is expected. I don’t see why.
So now I tried to use the RemoteDebuggerConsole on Debian.
Is there any documentation? I see no configuration.

If I start the Binary, I get:

root@debian1:~/remotedebugger# ./RemoteDebuggerConsole
Runtime Error
Please report what caused this error along with the information below.
Common/Loaders/Loader.cpp: 186
Failure Condition: functionEntry
Could not resolve function ‘__error_location’ in libc.so
Abgebrochen

it sounds like it’s missing a necessary library. Please run:

ldd ./RemoteDebuggerConsole

And it should tell you which dependencies are missing… but it certainly looks like you’re missing libc.so.

For what it’s worth, your app will require that library too.

Documentation tells about Recources folder of Remotedebuger but there is no such Folder in my Xojo-Installation.

At the Moment I don’t get further. I have correct encoding on OSX, putting the Binary on Linux I get Diamonds.
Nothing changes then the OS, I set the encoding at EVERY line where something is done with the string.
So without debugging here on the Server-Machine I won’t get that running.

btw. This is a fresh Debian, Of Course, there ist libc.so :wink:

So when you ran ldd, what were the results?

root@debian1:~/remotedebugger# ldd RemoteDebuggerConsole
linux-gate.so.1 => (0xb7791000)
libdl.so.2 => /lib/i386-linux-gnu/i686/cmov/libdl.so.2 (0xb7785000)
libpthread.so.0 => /lib/i386-linux-gnu/i686/cmov/libpthread.so.0 (0xb776c000)
libc.so.6 => /lib/i386-linux-gnu/i686/cmov/libc.so.6 (0xb7607000)
/lib/ld-linux.so.2 (0xb7792000)

strace doesn’t tell more important…

Ok, I gave up here. I didn’t get that working. So don’t know why. Perhaps there are missing functions in libc.

This is a bug and has been fixed for a future release.

Thanks Joe!

1,5 days of debugging ;(

For reference, it’s case 32729.