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

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

Issue 113513004: Handle vmservice messages while at breakpoint. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years 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
Index: runtime/bin/vmservice/client/deployed/web/index_devtools.html
===================================================================
--- runtime/bin/vmservice/client/deployed/web/index_devtools.html (revision 31232)
+++ runtime/bin/vmservice/client/deployed/web/index_devtools.html (working copy)
@@ -11,6 +11,24 @@
</head>
<body><polymer-element name="observatory-element">
+</polymer-element><polymer-element name="breakpoint-list" extends="observatory-element">
+ <template>
+ <template if="{{ msg['breakpoints'].isEmpty }}">
+ <div class="panel panel-warning">
+ <div class="panel-body">No breakpoints</div>
+ </div>
+ </template>
+ <template if="{{ msg['breakpoints'].isNotEmpty }}">
+ <ul class="list-group">
+ <template repeat="{{ bpt in msg['breakpoints'] }}">
+ <li class="list-group-item">
+ {{ bpt }}
+ </li>
+ </template>
+ </ul>
+ </template>
+ </template>
+
</polymer-element><polymer-element name="error-view" extends="observatory-element">
<template>
<div class="row">
@@ -297,6 +315,9 @@
<div class="col-md-1">
<a href="{{ app.locationManager.relativeLink(isolate, 'library') }}">Library</a>
</div>
+ <div class="col-md-1">
+ <a href="{{ app.locationManager.relativeLink(isolate, 'debug/breakpoints') }}">Breakpoints</a>
+ </div>
<div class="col-md-8"></div>
</div>
</template>
@@ -514,6 +535,9 @@
<template if="{{ messageType == 'StackTrace' }}">
<stack-trace app="{{ app }}" trace="{{ message }}"></stack-trace>
</template>
+ <template if="{{ messageType == 'BreakpointList' }}">
+ <breakpoint-list app="{{ app }}" msg="{{ message }}"></breakpoint-list>
+ </template>
<!-- If the message type is a RequestError -->
<template if="{{ messageType == 'RequestError' }}">
<error-view app="{{ app }}" error="{{ message['error'] }}"></error-view>

Powered by Google App Engine
This is Rietveld 408576698