I tried to debug the program using GDB and VS Code, but since the code uses escape sequences on Terminal for display, it can interfere with GDB output. For example, when a program calls write(1, "\x1b[6n" , 4) GDB will just hang there and not continue. How can I debug in this case? Thanks!
I tried to debug the program using GDB and VS Code, but since the code uses escape sequences on Terminal for display, it can interfere with GDB output. For example, when a program calls
write(1, "\x1b[6n" , 4)
GDB will just hang there and not continue. How can I debug in this case? Thanks!