Page 1 of 1

additional varname field

Posted: Tue Jun 22, 2004 10:08 am
by blueznl
an additional field in the debugger output window, that shows the unprocessed line behind the debug statement...

example:

Code: Select all

b = 1
c = 2
debug b
debug b+1
debug abs(c)
output:

Code: Select all

debug     eval
--------  --------
b         1
b+1       2
abs(c)    2   
this could really help out finding bugs, as one doesn't have to correlate debugger output with input (varnames etc.)

Posted: Tue Jun 22, 2004 10:14 am
by Dare2
If so, maybe on another line?

Code: Select all

Expr: a
Eval: 1
Otherwise something like

Code: Select all

debug OpenWindow(0, 100, 200, 195, 260, #PB_Window_SystemMenu | #PB_Window_MinimizeGadget | #PB_Window_MaximizeGadget, "PureBasic Window")
Disappears into the neverland on the right.

Posted: Tue Jun 22, 2004 7:03 pm
by blueznl
i was indeed thinking about two colums, so overlong texts in the left column (what generates the output in the right) is hidden from view