Sign In:     


Forum: VirtualDJ Technical Support

Topic: Help with Debug

This topic is old and might contain outdated or incorrect information.

Hello,

Has anyone figured out how to make the debug statement work? I am running into the same issues as above. Getting some insight into the variables would be extremely helpful.

Additionally, the script only executes once and I need to restart the application. I am on version 8.4 b5402.

Here are some scripts I tried:
debug “deck 1 get_genre” = Text: deck 1 get_genre
debug `deck 1 get_genre` = no param
debug (deck 1 get_genre) = no param
deck 1 debug get_genre = Text: get_genre
deck 1 get_genre & debug = no param
deck 1 get_genre debug = nothing happened
deck 1 debug `get_genre`= `get_genre`

Thanks.
 

Posted Fri 06 Dec 19 @ 12:59 pm
I've never used it before but I've just tried this on a custom slider

effect_slider "shader" 2 & debug
 

I'm not sure what you're wanting but perhaps var_list is what you want.
 

Hi, Thanks for the tip. Unfortunately, I'm looking to see more of what the function is returning vs. what is inside the variable list.

For example, I'm trying to get the variables from get_beat_bar so I can process and use them later down the chain.

I try this:
get_beat_bar 16 & debug

And get "no param" for the debugging results.

Thanks.
 

Maybe because debug do not handle return values...
In your example:
get_beat_bar 16 & param_cast float & debug
is working

get_var myvar & debug
is not
get_var myvar & param_cast & debug
is working

the bug with relative - mouse roll on slider :
set myvar & debug & get_var myvar & param_add 1 & param_cast & debug
Debug says :
1.03 (relative)
0.03 (relative)

and once debug window is closed it's forever, needs VDJ restart to open again
 



(Old topics and forums are automatically closed)