From the course: Debug Your Code with AI
Unlock this course with a free trial
Join today to access over 25,500 courses taught by industry experts.
Exploring potential unknown bugs
From the course: Debug Your Code with AI
Exploring potential unknown bugs
- [Instructor] One exercise that I like to do is to go through the source code that I'm working with and try to find potential issues that I might not be aware of. In this case, I am telling the Claude service that I have a Vim plug-in called pytest.vim, and I want this to go through the source code, bring out potential issues and bugs that I'm not aware of, list them in order of seriousness that could cause breakage to least concerning. So this is a good technique to kind of like go spelunking a little bit and try to see, investigate, maybe bring clarity to certain potential things that, you know, might not make you completely aware. As you know, in this specific case, this plug-in has almost 1,500 lines of output, and it might be very difficult for me to catch absolutely everything and make potential informed decisions about what are some of the things that can be troubling. In this case, it's providing, well, several different recommendations here, all the way up to 16 with a…