How can I debug the program using GDB?
Author: yichuan66Created May 19, 2019Updated Sep 27, 2020
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!
Source: antirez/kilo