-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Step over crashes tab in Dartium #3318
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
Comments
Apologies, instructions should read "Set breakpoint on line 6" |
This comment was originally written by @mhausner Do you happen to have a stack trace of the crash by any chance? |
How do I retrieve the stack trace? |
This comment was originally written by [email protected] I would start with Debug build on Linux and watch for stdout/stderr output. |
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. |
This comment was originally written by [email protected] Added this to the M1 milestone. |
Just tested without the editor involved. I started Dartium directly and I was able to repro the crash. |
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. |
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
The text was updated successfully, but these errors were encountered: