Handy Debugger Trick

| | Comments (6)

Betcha didn't know this one. You can right-click on a line in the variables viewer and change how the value is viewed. This change is then remembered as a preference, so whenever the debugger encounters that variable again, it displays it appropriately.

You can view numbers in Hex, Oct, Bin or Decimal. You can view colors in HSV, RGB (hex or decimal) or CMY.

6 Comments

When do we get the option of monitoring just a few variables ? Like in delphi you can set a watchpoint on a variable, so you always see that one during debugging ?

When it gets implemented. ;-)

Do you have a FeedBack ID for that feature request?

~joe

Just created this one, http://www.realsoftware.com/feedback/viewreport.php?reportid=vuhodrnd

Not sure that this is the correct way to get features, by bugging Aaron personally

Just wanted to thank you Aaron for pointing out the computed properties. It had totally passed by me. Now I am rewriting chuncks of code utilizing that, and my project code is shrinking greatly. This is soo coooool. Now when I add property to my classes, no longer need to create a getter and setter, which was quite boring.

Thanks

"Not sure that this is the correct way to get features, by bugging Aaron personally" ~TT

Couldn't hurt...

(unless you attend RealWorld and he gives you an indian red burn on your arm)

~joe

Leave a comment

Disclaimer

I'm currently an employee of REAL Software. My blog is mine. The opinions represented in this blog are mine as well and may not represent my employer's opinions. All original material is copyrighted and property of the author.

REALbasic® is a registered trademark of REAL Software, Inc. REAL SQL Server™ and Lingua™ are pending trademarks of REAL Software, Inc. All rights reserved.