Something neat just happened while using Free Pascal/Lazarus and I thought
I'd share and maybe get some feedback.

I am/was testing the Pascal interface to SDL 2.0 on Ubuntu. I had built a
shared object library of SDL 2.0 from mercurial daily snapshots and put the
binary of libSDL2.so in my /home/user/lib folder. While running a test of
my audio system classes, an error was thrown (I forget to issue a
"Continue;" in my sound mixer if a sound sample reached its end). To my
surprise, I was please to see Lazarus open up the SDL 2.0 source code file
(SDL_mixer.c), and pause my application while highlighting the line (in
SDL_mixer.c) where the error occurred.

http://www.codebot.org/sdl/sdl_error.jpg

TL/DR: Lazarus can locate source code and highlight source code when an
error occurs, even when the error is in a binary built in another language
with a different toolkit located elsewhere in the file system.
--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to