Using dbSetCursor() and dbPrint() in combination does not work as expected when the debugger is enabled when used with some 3D commands like the camera library. dbText() can be used as an alternative.