I'm not lua expert, so I have no idea if you can redirect print by default, but you can define lua function which will have shorter name and use that one instead of print. But you can still capture the regular stdout with ">" .. it's problem if you output both in lua and sjasmplus, then you have two logs and need to find between them.
But I'm not sure how to help with this, I don't want to redirect stdout of lua to stderr, I guess it would help you, but generally it's too specific and weird change.
About debugging tables... I don't know, I guess we would have to sit down together for a day or two, and go over your different projects in real life to see what I would try personally, maybe I just can't imagine what you are doing, or maybe I just have different approach which I personally find easier to do, while you would not like it (and maybe I have all kind of different tools around, which maybe you don't have at your system, etc...). But I guess a big part may be personal bias, what you like/dislike and what you find as simple/difficult, maybe we have different approach to asm programming (also it seems you are producing much larger projects than me lately, the sid player is great).
Anyway, I'm trying to help you and fix sjasmplus even more to cater for your needs, but it must make some sense to me from the general point of view. And I'm definitely not trying to make it harder for you, sorry if it happens, it's not intentional. Cheers.

