Dart-Code: Unverified breakpoints in specific file
I have a Flutter project and have been debuging it for a while now using VSCode. I just found recently that, in a specific file, all my breakpoints are marked “Unverified” when I start debugging my project from VSCode.
My file is imported same as all the others, nothing special. I have a core class which instantiates my managers, like so:
import 'package:bloc/bloc.dart';
import 'package:meta/meta.dart';
import 'package:live_app/managers/chat/chat_manager.dart';
import 'package:live_app/managers/user/user_manager.dart';
class BaseCore extends Bloc<CoreBaseEvent, CoreBaseState> {
UserManager _userManager;
IUserManager get userManager => _userManager;
ChatManager _chatManager;
IChatManager get chatManager => _chatManager;
BaseCore() {
_userManager = UserManager(_hubConnection);
_chatManager = ChatManager(_hubConnection, EHubPacketType.VROOMCHAT, _userManager);
}
// ...
I can place a breakpoint in my UserManager
and it works, while placing one in my ChatManager
doesn’t. Any idea?
I’m using VSCode 1.41.1 on Windows 10, with Dart-Code extension 3.7.1.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 1
- Comments: 17 (8 by maintainers)
@DanTup Thank you so much for your investigation! You guys work together often? Really effective. Thanks again!
Could you capture a log (as described at https://github.com/Dart-Code/Dart-Code/issues/2220#issuecomment-574702901) while reproducing this? You should start logging before running the app, since breakpoints are sent at the start of the debug session. Thanks!