Re: [fpc-pascal] Compiler debug build

2017-07-22 Thread denisgolovan
Thanks.That's exactly what I need.22.07.2017, 20:20, "Maciej Izak" :2017-07-22 19:05 GMT+02:00 denisgolovan :So the question is why it's so difficult to build fpc compiler/rtl in debug mode? Is it possible to fix? Or maybe I miss some official way?You don't need to edit Make

Re: [fpc-pascal] Compiler debug build

2017-07-22 Thread Maciej Izak
2017-07-22 19:05 GMT+02:00 denisgolovan : > So the question is why it's so difficult to build fpc compiler/rtl in > debug mode? > Is it possible to fix? Or maybe I miss some official way? > You don't need to edit Makefile.fpc. When I need debug info for rtl and packages I use this: make clean al

[fpc-pascal] Compiler debug build

2017-07-22 Thread denisgolovan
Hi all Currently I am debugging a nasty shared memory bug. More specifically it's related to memory allocator, though not directly. More to the point - lack of backtraces is really tough - Lazarus debugger just shows one level. Upon some investigation I managed to get much more meaningful backt