本文介绍了Flutter Android Studio Debugger 跳过框架文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以将 Android Studio Debugger 配置为跳过 Flutter 框架文件和包文件?我对 Step Over 或 Step out 不感兴趣,因为例如在调用 dispatch 后使用 redux 我想跳过直到我编写的 reducer,而不遵循所有框架和包文件.

Is it possible to configure Android Studio Debugger to skip flutter framework files and packages files?Im not interested in Step Over or Step out because for example with redux after calling dispatch I want to step skip until the reducer that I wrote, without following all the framework and package files.

推荐答案

我不确定 Android Studio,但在 VS Code 中,您只需将以下内容添加到用户设置中:

I'm not sure about Android Studio but in VS Code, you just add to your user settings the following:

"dart.debugSdkLibraries": false,
"dart.debugExternalLibraries": false,

所以,我想,Android Studio 设置中也应该有类似的东西.

So, I guess, there should be something similar in the Android Studio Settings as well.

这篇关于Flutter Android Studio Debugger 跳过框架文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-26 07:56