Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[help] how to debug var arr values?
#1
how do you check an object/variable/array value?

as far as I know, naalaa doesn't have console log function.

naalaa gui lib doesn't have a one line alert/popup i can put vals in.

how do I do that (debug values).
 
it's becoming hard to develop without being able to check these things.

please help.
Reply
#2
I always end up doing it the hard way.

 I write a temporary procedure to print variables I am looking at.
 Then I call the procedure at the right time to see the variable. then I add a wait keydown statement to give me time to read the variable. Hitting a key then continues the program.
Reply
#3
I created another file copied all the data and imports and used wln there where there is no loop or screens etc.

naalaa already has a console whats the problem of implementing console.log.
it also has a gui lib what the problem of creating a one-line popup?
Reply
#4
There is an extension called kitchensink for windows that uses the win32api to popup a messagebox implemented, i will search if i have it, or if anyone have it please post it here.
Reply
#5
(02-07-2019, 11:26 AM)cvirus Wrote: There is an extension called kitchensink for windows that uses the win32api to popup a messagebox implemented, i will search if i have it, or if anyone have it please post it here.

 I found the kitchensink library.


Attached Files
.zip   KSINK.zip (Size: 1,011.73 KB / Downloads: 2)
Reply
#6
great this works for me
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)