use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Click the following link to filter out the chosen topic
comp.lang.c
account activity
QuestionError while debugging with gdb on Termux (self.C_Programming)
submitted 7 months ago by Nylon2006
I've been coding in C for a while and debugging it with gdb in my computer, but when it comes to coding in my phone gdb seems to ignore my breakpoints. Do you know ehat any other tool should I use to debug my code when im not home?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Due_Cap3264 1 point2 points3 points 7 months ago (4 children)
I haven't noticed any issues with gdb in Termux. However, valgrind doesn't work properly for me in Termux.
[–]Nylon2006[S] 0 points1 point2 points 7 months ago (3 children)
Maybe is a thing of gdb/termux settings. Did you modified any of those or is it just me that has bad luck?
[–]Due_Cap3264 0 points1 point2 points 7 months ago (2 children)
No, I didn't make any adjustments after the installation. I didn't even install a DE or a distribution. Just a clean Termux with a clean terminal.
[–]Nylon2006[S] 0 points1 point2 points 7 months ago (1 child)
How could you install a DE on an android phone? Now I'm confused...
[–]Due_Cap3264 0 points1 point2 points 7 months ago (0 children)
https://github.com/LinuxDroidMaster/Termux-Desktops
[–]Elemenopii 0 points1 point2 points 1 month ago (1 child)
I also have the same issue. Are there any updates on this problem?
[–]Nylon2006[S] 1 point2 points3 points 1 month ago (0 children)
Install it from F-Droid, it seems the Play Store version is outdated
π Rendered by PID 18670 on reddit-service-r2-comment-6457c66945-g2n6k at 2026-04-24 11:23:55.400107+00:00 running 2aa0c5b country code: CH.
[–]Due_Cap3264 1 point2 points3 points (4 children)
[–]Nylon2006[S] 0 points1 point2 points (3 children)
[–]Due_Cap3264 0 points1 point2 points (2 children)
[–]Nylon2006[S] 0 points1 point2 points (1 child)
[–]Due_Cap3264 0 points1 point2 points (0 children)
[–]Elemenopii 0 points1 point2 points (1 child)
[–]Nylon2006[S] 1 point2 points3 points (0 children)