[Lazarus] Improve message dialog
Benito van der Zander
benito at benibela.de
Fri May 18 13:18:02 CEST 2012
Hi,
the watch dialog is already much better than it used to be (remember the
time, it just dumped the entire gdb output in a single line...)
so I think there are two other features that are really important for it:
* complete support for dynamical arrays (still shows the wrong length /
not all elements, or "No symbol \"length\" in current context." )
* direct memory inspection:
So you can print all bytes from address $123 to $456, or all TRects
from @foo[0] to @foo[high(foo)]...
Then, if gdb fails to understand again some types, you can still
watch the variables.
Benito
On 05/08/12 22:31, Darius Blaszyk wrote:
> Hi,
>
> One of my frustrations with the IDE have been when debugging record or class variables. The data is truncated to 255 characters and it's very difficult to find the appropriate variable within the structure. I have now uploaded a patch (http://bugs.freepascal.org/view.php?id=21990) that adds a treeview where each variable within the structure is shown. You can easily scroll down to find the desired variable and nothing gets truncated anymore.
>
> As described in the report, I can imaging though that this patch will be rejected as it would be even better to merge both functionalities by using a propertygrid. However this was a quick hack for a project of mine and it works excellent. Therefore I would not see why not to add it for now.
>
> The patch however brings up the discussion what would be the final solution for this problem. Is a propertygrid appropriate? Is there a native propertygrid for lazarus available? What do others think?
>
> Regards, Darius
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
More information about the Lazarus
mailing list