Jump to content
dummzeuch

Universal Debug Visualizer for Delphi

Recommended Posts

As mentioned in my previous post on dzDebugVisualizer I was thinking about writing a generalized debug visualizer which can be user-configured to register itself for any data type. Well, that debug visualizer now exists. It’s part of dzDebugVisualizer and called “Universal Visualizer for Delphi”.

 

Read on in the blog post.

  • Like 1
  • Thanks 2

Share this post


Link to post

Downloaded and installed. This is very helpful, even without adding custom visualizers.

 

I looked on sf for a way to add an "issue" and checked the blog. I suppose you want all feedback to be on this post.

 

In Tools Options, after clicking "Add Defaults", I then deleted each of the items that were added. Except the Delete button does nothing when there is a single item in the list.

 

image.thumb.png.52555e6fc29d0c0640ab754e70be2028.png

  • Like 1

Share this post


Link to post
27 minutes ago, JonRobertson said:

In Tools Options, after clicking "Add Defaults", I then deleted each of the items that were added. Except the Delete button does nothing when there is a single item in the list.

 That's because the last line of a string grid cannot be deleted. But the delete button should have cleared the line. If it doesn't, that's indeed a bug.

Share this post


Link to post
5 minutes ago, dummzeuch said:

the delete button should have cleared the line. If it doesn't, that's indeed a bug.

It does not. I just installed R43 in Delphi 11.3.

Share this post


Link to post
Posted (edited)

What methods do Expression support?

 

I added UInt64, IntToHex({Expression}) or ({Expression}).Dump

 

debug show

224071604948171700 (evaluation failed for IntToHex(I))

226323404761856752 (evaluation failed for (I).Dump)

Edited by qiuqiu

Share this post


Link to post

You can only call methods and functions that you could also use in the unit being debugged. So make sure you include the unit that exports these in the uses clause.

Share this post


Link to post

thanks

 

I use this expression

UIntToStr({Expression}) + ' ($' + (IntToHex({Expression}, SizeOf(UInt64) * 2)) + ')'

 Successfully displayed the decimal and hexadecimal values of UINT64

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×