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

Step over crashes tab in Dartium #3318

Closed
sethladd opened this issue May 30, 2012 · 12 comments
Closed

Step over crashes tab in Dartium #3318

sethladd opened this issue May 30, 2012 · 12 comments
Labels
area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.
Milestone

Comments

@sethladd
Copy link
Contributor

This simple code:

import('dart:html');

void main() {
  ButtonElement button = new Element.tag('button');

  button.text = 'Click me';
  button.classes.add('important');

  button.on.click.add((e) => window.alert('Clicked!!'));

  document.body.elements.add(button);
}

Open Dev Tools. Click Sources. Select the Dart file. Set breakpoint on line 5 (button.text = 'Click me';) Reload page. Program stops on line 6 (yay!) Click Step over in script debugger in Dev Tools. Tab crash. (boo :(

Dartium:

Chromium 21.0.1156.0 (Developer Build 139395)
OS Mac OS X
WebKit 537.1 (Source/WebCore/Configurations@567)
JavaScript V8 3.11.7
DartVM r8116
Flash 11.2.202.235
User Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1156.0 (Dart) Safari/537.1
Command Line /Users/sethladd/Downloads/dart 2/dart-sdk/Chromium.app/Contents/MacOS/Chromium --remote-debugging-port=9322 --user-data-dir=/Users/sethladd/.dartiumSettings --bwsi --no-first-run --no-default-browser-check --no-process-singleton-dialog --flag-switches-begin --flag-switches-end about:blank
Executable Path /Users/sethladd/Downloads/dart 2/dart-sdk/Chromium.app/Contents/MacOS/Chromium
Profile Path /Users/sethladd/.dartiumSettings/Default

@sethladd
Copy link
Contributor Author

Apologies, instructions should read "Set breakpoint on line 6"

@DartBot
Copy link

DartBot commented May 30, 2012

This comment was originally written by @mhausner


Set owner to @mhausner.
Added Accepted label.

@DartBot
Copy link

DartBot commented May 30, 2012

This comment was originally written by @mhausner


Do you happen to have a stack trace of the crash by any chance?

@sethladd
Copy link
Contributor Author

How do I retrieve the stack trace?

@DartBot
Copy link

DartBot commented May 31, 2012

This comment was originally written by antonm@google.com


I would start with Debug build on Linux and watch for stdout/stderr output.

@sethladd
Copy link
Contributor Author

sethladd commented Jun 1, 2012

I'm sorry, I don't have a Linux machine to test this on. I have just tried again and I can repro it.

@hausner, let me know if I can stop by tomorrow and show this to you.

@DartBot
Copy link

DartBot commented Jun 1, 2012

This comment was originally written by antonm@google.com


Added this to the M1 milestone.
Removed Area-Dartium label.
Added Area-VM label.

@sethladd
Copy link
Contributor Author

sethladd commented Jun 1, 2012

Just tested without the editor involved. I started Dartium directly and I was able to repro the crash.

@DartBot
Copy link

DartBot commented Jun 1, 2012

This comment was originally written by @mhausner


Pavel just closed the very similar issue #3299, says he cannot reproduce it after my change from yesterday. Maybe this issue got fixed as well?

@DartBot
Copy link

DartBot commented Jun 22, 2012

This comment was originally written by @mhausner


Can you still repro this Seth?


Added NeedsInfo label.

@DartBot
Copy link

DartBot commented Jul 20, 2012

This comment was originally written by @mhausner


I managed to run this code in a Dartium build from yesterday. I was able to step over every line without a crash. Whatever the original cause for the crash was that Seth reported, it seems to be fixed.

@DartBot
Copy link

DartBot commented Jul 20, 2012

This comment was originally written by @mhausner


Added Fixed label.

@sethladd sethladd added Type-Defect area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. labels Jul 20, 2012
@sethladd sethladd added this to the M1 milestone Jul 20, 2012
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.
Projects
None yet
Development

No branches or pull requests

2 participants