Skip to content

File Save dialog in ctrlr 5.6.23 #379

Discussion options

You must be logged in to vote

OK, I think I solved this and another issue that turned out to be related.

I had missed cleaning up a bit of code, so a value was being written into the table as nil. It turns out that trying to display nil in a text box, or saving it to a file crashes things badly (and in 5.6.23, there is no error catcher) Fixing this nil value fixed the problem, but I probably need to start puting more error catching in my code.

This lead me down a little investigation that led me here

https://www.tutorialspoint.com/lua/lua_error_handling.htm

I think we should use assert and pcall a lot more often in our code. LUA doesn't seem to do everything in protected mode by default, and VST's don't seem to run in…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@Godlike-Productions
Comment options

@Youngwhisk
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by Godlike-Productions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants