setBlackboxPatterns

suspend fun setBlackboxPatterns(args: Debugger.SetBlackboxPatternsParameter, mode: CommandMode = CommandMode.DEFAULT)

Replace previous blackbox patterns with passed ones. Forces backend to skip stepping/pausing in scripts with url matching one of the patterns. VM will try to leave blackboxed script by performing 'step in' several times, finally resorting to 'step out' if unsuccessful.


suspend fun setBlackboxPatterns(patterns: List<String>, skipAnonymous: Boolean? = null)

Replace previous blackbox patterns with passed ones. Forces backend to skip stepping/pausing in scripts with url matching one of the patterns. VM will try to leave blackboxed script by performing 'step in' several times, finally resorting to 'step out' if unsuccessful.

Parameters

patterns

Array of regexps that will be used to check script url for blackbox state.

skipAnonymous

If true, also ignore scripts with no source url.