FAM_Maurice
FAM_Maurice

Reputation: 423

Can IntelliJ IDEA debugger set breakpoints by itself?

I am trying to figure out which methods of which class are triggered when i send an api get request to the web application i'm working on. Is it possible to configure the debugger in such a way that it automatically sets a breakpoint at the controller method that is first triggered when sending the api request? For me that would be a quick way to determine where to start my debugging quest. I'm using Java.

Upvotes: 3

Views: 558

Answers (1)

Egor
Egor

Reputation: 2664

you can try wildcard method breakpoint for all methods of the handler class, it will trigger on any class method invocation:

  • go to breakpoints dialog
  • click +
  • select "Java method breakpoints"
  • enter handler class name and * as a method name:

Upvotes: 5

Related Questions