Hi,
< snip >
So finally my question: how can I see last location used with variables?
I can see current SP value in debugger, so last variable location would help me estimate how much space I have to 'free'.
can you share your AVR development setup ?
OS, FPC version ?
How do you debug your AVR project ?
AVRSim, hardware debugger ( snap, medbg, atmel ICE ), Microchip( Atmel ) Studio's ATBackend, gdb version ?
No recursive functions, only consts, vars, arrays, records.
Also, if you use objects, IMHO, I recommend to switch to advancedrecords. I wasn't able to successfully debug objects when they're in different units ( I suspect bugs in dwarf information ).
regards,