Page 1 of 1
Debug needed idea!
Posted: Sun Feb 24, 2008 5:08 am
by Rook Zimbabwe
I am running PB4.2... I wish I could mix strings and numerical values in Debug... It is so tiresome to create a number I want to tag into a string just so I can have it on the same line!
The ability to just put:
Debug "Idiots Value: "+ d.d
Would be beyond price... I might have to donate enough for everyone to have a dinner or something!

Re: Debug needed idea!
Posted: Sun Feb 24, 2008 5:48 am
by PB
+1
It's at the point where I either just use "Debug X" without any leading string,
or I just use CallDebugger (to pause my app) and then read the ToolTip for
each variable instead. Doing either of these annoys the hell out of me.

Posted: Sun Feb 24, 2008 5:58 am
by rsts
I'm really missing something and not trying to be a smart-ass, but
Debug "Idiots value " + strD(d)
is too much trouble?
cheers
Posted: Sun Feb 24, 2008 6:28 am
by PB
@rsts: Frankly, yes.
Okay, in my case I usually debug several numbers on a single Debug line,
and adding any string means I then have to wrap them all with Str(). Which
do you think of the below lines is less trouble to type? That's our point.
Code: Select all
Debug "Results: "+StrF(a.f)+", "+StrD(b.d)+", "+Str(c)
Posted: Sun Feb 24, 2008 6:37 am
by rsts
Gotcha, no problem, I understand.
My personal preference would be to do the typing myself and have Fred work on other features that I can't do as easily myself, but I see your point.
cheers
Posted: Sun Feb 24, 2008 6:38 am
by PB
> My personal preference would be to do the typing myself and have Fred
> work on other features that I can't do as easily myself
