Re: [Lazarus] Debugging in Lazarus, cannot inspect values at breakpoints...

2020-10-26 Thread Martin Frb via lazarus
On 11/10/20 21:11, Bo Berglund via lazarus wrote: Type TBITBTN has no component named ENABLED. Enabled is a *property* Fpc currently does not add debug-info for properties at all. You can inspect only fields and variables. The only exception is: when the project (or package) settings s

Re: [Lazarus] Debugging in Lazarus, cannot inspect values at breakpoints...

2020-10-26 Thread Bo Berglund via lazarus
On Tue, 29 Sep 2020 17:49:47 +0200, Bo Berglund via lazarus wrote: >So I am debugging an application that transfers data over a socket >connection. I want to inspect received data so I put a breakpoint in >the method that does the handling of the response. >But when I get there and want to see wh

Re: [Lazarus] Debugging in Lazarus, cannot inspect values at breakpoints...

2020-09-30 Thread Martin Frb via lazarus
On 30/09/2020 12:41, Ondrej Pokorny via lazarus wrote: On 30.09.2020 12:34, Martin Frb via lazarus wrote: On 30/09/2020 11:54, Ondrej Pokorny via lazarus wrote: Tooltip evaluation: works for me Watches: works for me Local Variables: doesn't work for me - strange, I have to re-check. I thought

Re: [Lazarus] Debugging in Lazarus, cannot inspect values at breakpoints...

2020-09-30 Thread Ondrej Pokorny via lazarus
On 30.09.2020 12:34, Martin Frb via lazarus wrote: On 30/09/2020 11:54, Ondrej Pokorny via lazarus wrote: Tooltip evaluation: works for me Watches: works for me Local Variables: doesn't work for me - strange, I have to re-check. I thought it worked here. Locals do not have the type info Gdb r

Re: [Lazarus] Debugging in Lazarus, cannot inspect values at breakpoints...

2020-09-30 Thread Martin Frb via lazarus
On 30/09/2020 11:54, Ondrej Pokorny via lazarus wrote: Tooltip evaluation: works for me Watches: works for me Local Variables: doesn't work for me - strange, I have to re-check. I thought it worked here. Locals do not have the type info Gdb returns them as just a pair of name value strings.

Re: [Lazarus] Debugging in Lazarus, cannot inspect values at breakpoints...

2020-09-30 Thread Ondrej Pokorny via lazarus
On 30.09.2020 11:33, Michael Van Canneyt wrote: On Wed, 30 Sep 2020, Ondrej Pokorny via lazarus wrote: Yes, I implemented them, IIRC. Don't remember the details, though. I added TDate, TDateTime and TTime formatters. It was quite a simple addon, should be easy to find in the sources. Good new

Re: [Lazarus] Debugging in Lazarus, cannot inspect values at breakpoints...

2020-09-30 Thread Michael Van Canneyt via lazarus
On Wed, 30 Sep 2020, Ondrej Pokorny via lazarus wrote: On 30.09.2020 10:55, Michael Van Canneyt via lazarus wrote: Does Lazarus offer the functionality Delphi has (since quite some time, I might add):  custom debug info visualizers ? See http://docwiki.embarcadero.com/RADStudio/Sydney/en/De

Re: [Lazarus] Debugging in Lazarus, cannot inspect values at breakpoints...

2020-09-30 Thread Ondrej Pokorny via lazarus
On 30.09.2020 10:55, Michael Van Canneyt via lazarus wrote: Does Lazarus offer the functionality Delphi has (since quite some time, I might add):  custom debug info visualizers ? See http://docwiki.embarcadero.com/RADStudio/Sydney/en/Debugger_Visualizers Seems like a useful addition. Don't kno

Re: [Lazarus] Debugging in Lazarus, cannot inspect values at breakpoints...

2020-09-30 Thread Michael Van Canneyt via lazarus
On Tue, 29 Sep 2020, Martin Frb via lazarus wrote: On 29/09/2020 18:22, Martin Frb via lazarus wrote: On 29/09/2020 17:49, Bo Berglund via lazarus wrote: When I reach this breakpoint and I hover the mouse over Body.Text or Body.Count Lazarus shows a message saying: Body.Text = Type TSTRINGS

Re: [Lazarus] Debugging in Lazarus, cannot inspect values at breakpoints...

2020-09-29 Thread Martin Frb via lazarus
On 29/09/2020 18:22, Martin Frb via lazarus wrote: On 29/09/2020 17:49, Bo Berglund via lazarus wrote: When I reach this breakpoint and I hover the mouse over Body.Text or Body.Count Lazarus shows a message saying: Body.Text = Type TSTRINGS has no component named TEXT and Body.Count = Type TSTR

Re: [Lazarus] Debugging in Lazarus, cannot inspect values at breakpoints...

2020-09-29 Thread Martin Frb via lazarus
On 29/09/2020 17:49, Bo Berglund via lazarus wrote: When I reach this breakpoint and I hover the mouse over Body.Text or Body.Count Lazarus shows a message saying: Body.Text = Type TSTRINGS has no component named TEXT and Body.Count = Type TSTRINGS has no component named COUNT What is that? I

[Lazarus] Debugging in Lazarus, cannot inspect values at breakpoints...

2020-09-29 Thread Bo Berglund via lazarus
So I am debugging an application that transfers data over a socket connection. I want to inspect received data so I put a breakpoint in the method that does the handling of the response. But when I get there and want to see what has been received Lazarus does not show it... Here is what I do: fun