Skip to content

DevTools automatically resumes after current breakpoint if paused when connecting #8812

Closed
@jakemac53

Description

@jakemac53

Repro instructions

Create any app, and set a breakpoint on the first line inside of main:

void main() {
  print('hello'); // Set breakpoint here
}

In VsCode, debug this app (click the debug tooltip above the main function).

Image

It should stop at the breakpoint you set.

Image

Click the button to open up the CPU profiler

Image

The app will now advance past the breakpoint you set, and exit (unless you have more breakpoints set).

Expected behavior

I expect it to stay stopped at a breakpoint - I set it here in order to be able to resume it once I have connected the profiler and started recording frames.

Metadata

Metadata

Assignees

Labels

P1high priority issues at the top of the work list, actively being worked on.bugSomething isn't workingproduct-qualityIssues related to product quality.screen: cpu profilerIssues related to the CPU Profiler screen

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions