In linux, how does one debug a project that contains more than N files?
Source: Internet
Author: User
In linux, how does one debug a project that contains more than N files? -- Linux general technology-Linux technology and application information. For details, refer to the following section. I am a newbie. I recently studied the Jabberd stuff and want to make some modifications to the code. So the question is:
The source file of jabberd contains n Multiple folders, and each file # contains various complex relationships. How can I use gdb to debug this ambitious project?
In linux, what tools can be used to debug large projects that contain multiple files?
Gcc-g XXXX-o XXX must be used to debug files in gdb, but this is usually the case for large engineering files, for example, A folder contains folders A and B (B is not in A), and folder a contains. c and. h. The folder B contains B. c and B. h, but. in h # include "B/B. h "...... how can I debug a lot of such relationships? Is there any tool? Do you want to modify Makefile?
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service