Debugging in netbeans (java)

I asked for this myself for a while.

Visual Studio debugging is going smoothly.

But when I debug Netbeans (java), I spend more than half the time looking at the system code itself. This makes it almost impossible for me to find it difficult to find errors, because debugging is simply too tedious and unmanageable.

How can this be avoided? Exiting all the time takes an insane amount of time, and I just want to debug the code I wrote.

I usually add all the controls without using any drag and drop for the forms, if that makes any difference in the big picture.

Sincerely.

+4
source share
1 answer

Ok, I think this is what you are looking for:

Netbeans has step filters that prevent the debugger from stepping certain classes

alt text

Also look at this question: How to configure NetBeans only at the stage of writing the Java code that I wrote.

Add java.* And javax.* Do Not javax.* section of the class matching list.

+4
source

Source: https://habr.com/ru/post/1334966/


All Articles