antirez / antirez/kilo

How can I debug the program using GDB?

Open
#59 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
9.1k
Forks
995
PR merge metrics
No merged PRs in 30d

Description

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!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.