Unverified breakpoints in specific file
See original GitHub issueI 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.
Issue Analytics
- State:
- Created 4 years ago
- Comments:17 (8 by maintainers)
Top Results From Across the Web
“Unverified breakpoint” in Visual Studio Code with Chrome ...
Set up a debug configuration in the .vscode\launch.json file. Make sure that you have specified the right port for your application, ...
Read more >[SOLVED!] How to fix Unverified Breakpoints - Ask - GameDev.tv
The first command you wrote - cl main.cpp FBullCowGame.cpp - compiles each file and creates a compiled object file (.obj) and then the...
Read more >What's up with all the unverified breakpoints? : r/vscode - Reddit
Most common issue is that you run code from one folder and compile from another. Happens if for example you upgrade your code...
Read more >Unverified Breakpoint in Visual Studio Code – iTecNote
Locate the one you want to get debug info for. Right-click it and select Symbol Load Information. You'll get a dialog that lists...
Read more >Unverified Breakpoint: Apex Replay debugger not stopping at ...
The log file did not skip any execution. I have specified the Salesforcedx-vscode-apex › Java: Home in the settings as well. Did anyone ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@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!