Hello. I work for a company that does alot of stuff with python and I was wondering what methods are better then the one I use for finding a bug in millions of lines of code. What I like to do is find out what the bug does. Let's just say that it disables your audio. So now I can feed a program a keyword! So it now excludes all files except for ones with the import sys module. Then I find out where it occurs. Let's say it's when you download a file. Then you can narrow it down to all files in the 'download' directory. Then you can run a debugger with the application to find the bug faster. If anybody thinks they have a better idea I would love to hear it!!!! Thank you!!!!

Recommended Answers

All 3 Replies

Split your large project into a series of small projects.

Thank you for the input. Also we have teams for different parts, but my job is mostly debugging and finding bugs in the code.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.