question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unverified breakpoints in specific file

See original GitHub issue

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.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:17 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
NicolasDionBcommented, Jan 28, 2020

@DanTup Thank you so much for your investigation! You guys work together often? Really effective. Thanks again!

1reaction
DanTupcommented, Jan 15, 2020

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!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found