Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Breakpoint inside Isolate does not trigger #9585

Closed
sethladd opened this issue Apr 2, 2013 · 7 comments
Closed

Breakpoint inside Isolate does not trigger #9585

sethladd opened this issue Apr 2, 2013 · 7 comments
Assignees
Labels
closed-duplicate Closed in favor of an existing report
Milestone

Comments

@sethladd
Copy link
Contributor

sethladd commented Apr 2, 2013

This comes from a customer.

I'm using Dartium and Dart Editor (Dart Editor version 0.4.3_r20602)

Consider this code:

import 'dart:html';
import 'dart:isolate';

childIsolate() {
  port.receive((msg, replyTo) {
    print('doing some work');
    if (replyTo != null) replyTo.send('shutdown');
  });
}

main() {
  var sender = spawnFunction(childIsolate);
  var receiver = new ReceivePort();
  receiver.receive((msg, _) {
    if (msg == 'shutdown') {
      print('shutting down');
      receiver.close();
    }
  });
  sender.send('do work please', receiver.toSendPort());
}

  1. Load into Dart Editor, and set a breakpoint on the line "print('doing some work');"
  2. Run the app in Dartium

Problem: no breakpoint is triggered.

@clayberg
Copy link

clayberg commented Apr 3, 2013

Set owner to @devoncarew.
Added this to the Later milestone.

@danrubel
Copy link

danrubel commented Jun 5, 2013

Removed this from the Later milestone.
Added this to the M6 milestone.

@devoncarew
Copy link
Member

Removed this from the M6 milestone.
Added this to the M7 milestone.

@devoncarew
Copy link
Member

Removed this from the M7 milestone.
Added this to the Later milestone.

@danrubel
Copy link

Removed this from the Later milestone.
Added this to the M9 milestone.

@clayberg
Copy link

Removed this from the M9 milestone.
Added this to the 1.1 milestone.

@devoncarew
Copy link
Member

Added Duplicate label.
Marked as being merged into #4890.

@sethladd sethladd added Type-Defect closed-duplicate Closed in favor of an existing report labels Nov 20, 2013
@sethladd sethladd added this to the 1.1 milestone Nov 20, 2013
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed-duplicate Closed in favor of an existing report
Projects
None yet
Development

No branches or pull requests

4 participants