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> |