» VL: One frame at a time
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

VL: One frame at a time

Newsflash!

Here are two new little features we want to make sure you're aware of. Not completely finished but already helpful:

StepByStep

Press F6 to pause and step through your patch one frame at a time. Press F5 to continue running the patch.
F6, F6, F6, F6, F5

Note how the Quad (topleft) indicates run/pause. Tremendous you say? Indeed, but beware the following caveats for now:

  • this works only for vl, so if you have parts of your patch in vvvv, those will still continue to run as usual!
  • tooltips don't work in this mode yet, so you'll need IOBoxes wherever you want to inspect values
  • no stepping through slices of loops

Still you'll see that in cases where you're looking for a logical problem in your patch it is already useful to be able to step through its execution one frame at a time to better understand how it is evolving.

JumpToError

Set RuntimePauseOnError to TRUE in the settings in case you want to have the patch paused in case an error occured.
Pink: the node that threw the runtime-error.
Bright: the call stack, leading up to the error.
Dark: nodes not executed.

This can be useful when you're on a debugging spree and expect an error to happen at some point. Activate this option to be brought to the point where the error occurred, the moment it happened. Saves you some navigation and highlights the nodes involved leading up to the error. Again press F6 to step or try F5 to get the patch running again after you solved the problem.

Caveat: Look closely, the error message in the tooltip actually belongs to the Add of the Dictionary. The reason for that is code-optimization which sometimes leads to the error-indicator being one node off. A setting to disable code-optimization is pending..


As mentioned, both features are not finished but are a first step into the direction of better debugging support. Still more to come..

joreg, Tuesday, Dec 19th 2017 Digg | Tweet | Delicious 2 comments  
microdee 19/12/2017 - 23:29

it's nice to see VL getting this feature. this will ease debugging a lot!

velcrome 20/12/2017 - 00:46

Tremendous appetizer, I say. Made me hungy for the main course F10 alongside F11. Maybe F9 for desert?

  • 1

anonymous user login

Shoutbox

~2d ago

metrowave: yah, thanks @tekcor

~2d ago

david: @tekcor. thats bad news. thanks for putting it together and all the efford though. next time hopefully.

~2d ago

tekcor: VVVV.js workshop chanceled, unfortunately not enough people. Thanks to everyone who wanted to come and sorry!

~3d ago

neuston: @joreg Thank you very much!

~3d ago

joreg: @neuston: please check the country list again!

~3d ago

xd_nitro: no users in all of Wales!

~4d ago

microdee: it's like telling a west-Ukrainian that they're Russians...

~4d ago

microdee: @tonfilm: Telling a person from Hong Kong that they're Chinese is a bigger insult than calling their mom names ;)

~4d ago

tonfilm: Patch your own #mainloop with microsecond precision in #reactive #dotNET style. #rxNET #rx #gamedev #vvvv #VL vl-patch-your-own-mainloops