[Lazarus] I didn't know this was possible

Anthony Walter sysrpl at gmail.com
Mon Apr 15 04:15:43 CEST 2013


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130414/b869be3d/attachment-0002.html>


More information about the Lazarus mailing list