Index: runtime/bin/vmservice/client/lib/src/elements/nav_bar.html |
diff --git a/runtime/bin/vmservice/client/lib/src/elements/nav_bar.html b/runtime/bin/vmservice/client/lib/src/elements/nav_bar.html |
index b1411d96de2d424f617baeecae2dd0ab55f607a1..a690cf2488e6becdfcda8946cbe8d2cb16b11ad1 100644 |
--- a/runtime/bin/vmservice/client/lib/src/elements/nav_bar.html |
+++ b/runtime/bin/vmservice/client/lib/src/elements/nav_bar.html |
@@ -1,4 +1,5 @@ |
<link rel="import" href="../../../../packages/polymer/polymer.html"> |
+<link rel="import" href="action_link.html"> |
<link rel="import" href="observatory_element.html"> |
<polymer-element name="nav-bar" extends="observatory-element"> |
@@ -315,27 +316,30 @@ |
background: rgba(255,255,255,0.5); |
} |
</style> |
- <template if="{{ event.eventType == 'IsolateInterrupted' }}"> |
+ <template if="{{ event.eventType == 'IsolateInterrupted' || |
+ event.eventType == 'BreakpointReached' || |
+ event.eventType == 'ExceptionThrown' }}"> |
<div class="item"> |
Isolate |
- <a class="link" on-click="{{ goto }}" href="{{ event.isolate.link }}">{{ event.isolate.name }}</a> |
+ <a class="link" on-click="{{ goto }}" |
+ href="{{ event.isolate.link }}">{{ event.isolate.name }}</a> |
is paused |
- <a class="boxclose" on-click="{{ closeItem }}">×</a> |
- </div> |
- </template> |
- <template if="{{ event.eventType == 'BreakpointReached' }}"> |
- <div class="item"> |
- Isolate |
- <a class="link" on-click="{{ goto }}" href="{{ event.isolate.link }}">{{ event.isolate.name }}</a> |
- is paused at breakpoint {{ event.breakpoint['id'] }} |
- <a class="boxclose" on-click="{{ closeItem }}">×</a> |
- </div> |
- </template> |
- <template if="{{ event.eventType == 'ExceptionThrown' }}"> |
- <div class="item"> |
- Isolate |
- <a class="link" on-click="{{ goto }}" href="{{ event.isolate.link }}">{{ event.isolate.name }}</a> |
- is paused at exception |
+ <template if="{{ event.breakpoint != null }}"> |
+ at breakpoint |
+ </template> |
+ <template if="{{ event.eventType == 'ExceptionThrown' }}"> |
+ at exception |
+ </template> |
+ |
+ <br><br> |
+ <action-link callback="{{ resume }}" label="resume" color="white"> |
+ </action-link> |
+ <action-link callback="{{ stepInto }}" label="step" color="white"> |
+ </action-link> |
+ <action-link callback="{{ stepOver }}" label="step over" |
+ color="white"></action-link> |
+ <action-link callback="{{ stepOut }}" label="step out" |
+ color="white"></action-link> |
<a class="boxclose" on-click="{{ closeItem }}">×</a> |
</div> |
</template> |