Can't break in non-yieldable code

An ambiguous error appears when I try to use a logpoint in my Spring module.
"Breakpoint ... ignored, can't break in non-yieldable code"
image

I would assume that it’s because I’m trying to use a log point in a metamethod call, which is not allowed? However, I’m not yielding; I’m only trying to print a value to the console and continue execution, and it won’t let me. This is annoying because the Spring module is in a package, and that means I would have to modify the source in order to debug.

Expected behavior

I expect the logpoint to print the value to the console. If it’s not possible to yield inside of metamethod calls, we should be able to use logpoints that have Continue Execution enabled.

3 Likes

Hi crusherfire,
This is indeed a bug on our end. Thanks for letting us know about it, and we will update this thread when the issue has been fixed.

1 Like

Wanted to add that I’m having the same/similar issue. Good luck, and thank you!!

1 Like