Reputation: 4549
In Netbeans 8.1 I'm trying to debug some files, but Netbeans won't let me add them as debugging sources. To add the sources, I clicked Window > Debugging > Sources. Then in the Sources tab, I right-clicked and selected Add Source Root. Then I selected the source folder and clicked add, but nothing was added.
Upvotes: 2
Views: 1865
Reputation: 4549
When I've run into this problem, it is usually because Netbeans cannot see the sources I'm trying to debug. If I'm trying to debug a project's sources, occasionally Netbeans won't allow me to add those sources. This is usually because Netbeans cannot see the sources, so I recommend the following steps:
Upvotes: 2