Impossible to watch properties and certain variable expressions
Original Reporter info from Mantis: ggeldenhuys
-
Reporter name: Graeme Geldenhuys
Original Reporter info from Mantis: ggeldenhuys
- Reporter name: Graeme Geldenhuys
Description:
Has anybody actually noticed that it's impossible to debug an application with Lazarus IDE. I normally use tiOPF's Log() methods to debug code, but today I had a tough problem and wanted to step through a procedure. So I used breakpoints and the Watch List window. Only local declared variables in that method was watchable. Everything else gave errors like "No symbol ?? in current context" or "Syntax error in expression...."
See attached screenshot. FView in the screenshot is a TStringGrid. As you can see, only the last two items in the watch list is working because they are local variables I had to introduce to get some feedback.
Oh, and in my projects Compiler Options, I had -g and -gl parameters enabled for GDB debugging. No smart linking or optimization enabled.
How do any of you debug your programs in Lazarus IDE?
Mantis conversion info:
- Mantis ID: 12522
- OS: Ubuntu Linux
- OS Build: 7.10
- Build: v0.9.27 r17105M i386-linux-gtk 2
- Platform: x86
- Version: 0.9.27 (SVN)
- Monitored by: » luizamerico (Luiz Americo)
- Target version: 1.4