On Tuesday 12 April 2016 10:45:18 Graeme Geldenhuys wrote: > On 2016-04-12 07:01, Martin Schreiber wrote: > > The FPC-gdb combination does not support nested function scopes. Please > > click in stack window in the row of "DoPrepareReport()" in order to > > switch the frame. > > OK, thanks for the solution. > > I so hope one day Free Pascal will have its own debugger where all such > use cases are supported. GDB might be a great debugger for C/C++, but it > sure sucks for Object Pascal. Maybe MSElang will come with a native > Object Pascal debugger? ;-) > It uses the LLVM backend where it could be possible to define nested stack variables if I read the code right (not tested yet). gcc also supports nested functions AFAIK, I don't know if outer variables are visible in gdb.
Martin ------------------------------------------------------------------------------ Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z _______________________________________________ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk