How to force IntelliJ to only step into my source code?

后端 未结 5 1976
野性不改
野性不改 2021-01-30 08:05

I have a Spring MVC project that I\'m trying to debug using IntelliJ.

If I set a breakpoint in my Controller code, the debug stops at the appropriate place. That particu

5条回答
  •  一生所求
    2021-01-30 08:39

    Currently there is no overall option to only target user code (like Visual Studio's 'Just My Code').

    The best way to have the same behavior is to exclude specific code classes or packages (it is possible to setup filter patterns for class packages via wildcards) that will not be 'stepped into'.

    This can be achieved within the Settings/Preferences, in the Debugger/Stepping options.

提交回复
热议问题