Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(60)

Unified Diff: runtime/bin/vmservice/client/deployed/web/index.html

Issue 205713004: Add isolate tag-profile and better handling of errors (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/bin/vmservice/client/deployed/web/index.html_bootstrap.dart.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/vmservice/client/deployed/web/index.html
diff --git a/runtime/bin/vmservice/client/deployed/web/index.html b/runtime/bin/vmservice/client/deployed/web/index.html
index 8cc1d2de3d8a26c196db49f112174b596e9efdd7..1d10d75d2eed315bfcbd6000dd3539c0ddaa4602 100644
--- a/runtime/bin/vmservice/client/deployed/web/index.html
+++ b/runtime/bin/vmservice/client/deployed/web/index.html
@@ -1041,6 +1041,37 @@
</div>
</div>
+ <template if="{{ isolate.error != null }}">
+ <div class="content">
+ <h1>Error</h1>
+ <div class="memberList">
+ <div class="memberItem">
+ <div class="memberName">message</div>
+ <div class="memberValue">
+ <pre>{{ isolate.error.message }}</pre>
+ </div>
+ </div>
+ <div class="memberItem">
+ <template if="{{ isolate.error.exception != null }}">
+ <div class="memberName">exception</div>
+ <div class="memberValue">
+ <instance-ref ref="{{ isolate.error.exception }}"></instance-ref>
+ </div>
+ </template>
+ </div>
+ <div class="memberItem">
+ <template if="{{ isolate.error.stacktrace != null }}">
+ <div class="memberName">stacktrace</div>
+ <div class="memberValue">
+ <instance-ref ref="{{ isolate.error.stacktrace }}"></instance-ref>
+ </div>
+ </template>
+ </div>
+ </div>
+ </div>
+ <hr>
+ </template>
+
<template if="{{ isolate.topFrame != null }}">
<br>
<div class="sourceInset">
@@ -1131,6 +1162,12 @@
<hr>
<div class="content">
+ <div id="tagProfileChart" class="col-md-8" style="height: 400px"></div>
+ </div>
+
+ <hr>
+
+ <div class="content">
<eval-box callback="{{ eval }}"></eval-box>
</div>
<br><br><br><br>
@@ -1856,6 +1893,47 @@
</template>
</polymer-element>
+<polymer-element name="service-exception-view" extends="observatory-element">
+ <template>
+ <nav-bar>
+ <top-nav-menu last="{{ true }}"></top-nav-menu>
+ </nav-bar>
+
+ <div class="row">
+ <div class="col-md-8 col-md-offset-2">
+ <div class="panel panel-danger">
+ <div class="panel-heading">{{ exception.kind }}</div>
+ <div class="panel-body">
+ <p>{{ exception.message }}</p>
+ </div>
+ <div class="well">
+ <p>{{ exception.response }}</p>
+ </div>
+ </div>
+ </div>
+ </div>
+ </template>
+
+</polymer-element>
+<polymer-element name="service-error-view" extends="observatory-element">
+ <template>
+ <nav-bar>
+ <top-nav-menu last="{{ true }}"></top-nav-menu>
+ </nav-bar>
+
+ <div class="row">
+ <div class="col-md-8 col-md-offset-2">
+ <div class="panel panel-danger">
+ <div class="panel-heading">{{ error.kind }}</div>
+ <div class="panel-body">
+ <p>{{ error.message }}</p>
+ </div>
+ </div>
+ </div>
+ </div>
+ </template>
+
+</polymer-element>
<polymer-element name="vm-ref" extends="service-ref">
<template>
<a href="{{ url }}">{{ ref.name }}</a>
« no previous file with comments | « no previous file | runtime/bin/vmservice/client/deployed/web/index.html_bootstrap.dart.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698