Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2013-04

I didn't know this was possible

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Anthony Walter

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.freepascal.org/pipermail/lazarus/attachments/20130414/b869be3d/attachment.html>

Reply by email