Remote dubugger - skip invoke in call stack?

Answered

Such code is common in java:

handler.handle()

(forum better support monospace styles)

where handler is an interface. If there are several implementations, it will be impossible to tell which one is called until execution. The 'step in' helps here.

 

However, if handler is also a proxy, things will get frustration:

'step in' goes to an invoke function, which is of little use to me. Sometimes use multiple proxy, and it will take 20+ function calls before reach the real implementation I am interested in.

I learn that it can skip several patterns of package, but we are using many frameworks of proxy so it is impractical to enumerate them all.

As these framework are pretty mature I trust them as flawless and just simply want to skip them all in debugging. Is that doable?

0
1 comment

Hi,

this should be possible with stepping filters in Settings | Build, Execution, Deployment | Debugger | Stepping, you'll need to add all your frameworks there :(

Also please vote for https://youtrack.jetbrains.com/issue/IDEA-148867, one day it will be possible using smart step into.

0

Please sign in to leave a comment.