Thursday, April 25, 2024
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 5132  / 3 Years ago, thu, june 24, 2021, 11:20:10

I recently changed from Windows where I was using Qt Creator to Ubuntu.



The problem is that Qt Creator in Ubuntu can't properly debug due to some problem attaching ptrace to the program which was cause by a security upgrade as I found out. The only way to debug is to mess with the system settings and change the ptrace variable configuration but I'm not comfortable with this, as it compromises security.



So my question is, is there anything close to Qt Creator or Visual Studio debugger in Linux? I mean being able to track variable values and pointers, etc.



If not what's the standard debugger for Linux? I don't mind using console tools as long as they offer the same functionality


More From » software-recommendation

 Answers
6

Have you looked at gdb? It's a command line interface tool.



Another option is to go with Eclipse C/C++, which is a full fledged C and C++ IDE that provides front-end for gdb (CDT GNU Toolchain Debug).



I have not used the latter as am pretty comfortable with gdb.


[#31866] Saturday, June 26, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ingssex

Total Points: 21
Total Questions: 122
Total Answers: 98

Location: Sweden
Member since Fri, Mar 26, 2021
3 Years ago
;