more logging after rect crash

This commit is contained in:
camh 2022-02-24 15:22:12 -08:00
parent c38e79ef0b
commit c17620ce52
3 changed files with 7 additions and 0 deletions

Binary file not shown.

Binary file not shown.

View File

@ -559,6 +559,13 @@ void updateBounds(int top, int bottom, int left, int right) {
#ifdef COMMAND_CACHING
char x[255];
sprintf(x, "cmd: %d", cmd->type);
writeSerialPortDebug(boutRefNum, x);
char y[255];
sprintf(y, "lastCmd: %d", lastCmd->type);
writeSerialPortDebug(boutRefNum, y);
if (!lastInputWasBackspace && cmd->type == lastCmd->type && memcmp(r, lastCmd, sizeof(struct nk_command_rect)) == 0) {
#ifdef NK_QUICKDRAW_GRAPHICS_DEBUGGING