[Lazarus] tooltip debugger shows incorrect data
Michael Van Canneyt
michael at freepascal.org
Wed Oct 13 15:25:45 CEST 2010
On Wed, 13 Oct 2010, Graeme Geldenhuys wrote:
> Op 2010-10-13 14:43, Michael Van Canneyt het geskryf:
>>
>> Why do you say "it sucks" ?
>
> Simply for a lack of a stronger word. I was holding back on my frustrations.
That you are frustrated is obvious to all, I would say =-)
>> It works, kind of. It depends on your expectations.
>
> My expectations are rather low at the moment. Just show me the f**ken value
> of the variable!
>
>> I successfully debug applications.
>
> Please do share how you accomplish that feat. I think everybody here would
> love to learn from your experience. [this is a genuine request]
I don't know what to say other than I press F9 and set a breakpoint.
Then I step through the code. I never look at tooltips or watch window;
Occasionally, when an access violation occurs, I look at the stack trace.
All this works for my needs.
If I ever need to see actual values, I send them with SendDebug() to the debug
server window, for the simple reason that
- it works without debugger as well,
- it doesn't mess with GUI events.
- It remains in the log on screen even after the execution has long moved on to another
part of the code.
>> they scratch it. You have a different itch from the other developers.
>
> I think every developer wants to debug their software. Nobody write
> bug-free software!
Correct, but most people simply take the tools at their disposal,
shortcomings and all. This is not an excuse for not improving the
existing tools. But saying that they don't work is an exaggeration.
Michael.
More information about the Lazarus
mailing list