Index: runtime/bin/vmservice/client/deployed/web/packages/observatory/src/elements/isolate_summary.html |
diff --git a/runtime/bin/vmservice/client/deployed/web/packages/observatory/src/elements/isolate_summary.html b/runtime/bin/vmservice/client/deployed/web/packages/observatory/src/elements/isolate_summary.html |
index 06738ea6f5af03c17b4e27621e65c68d145f72fd..f7a7c9430685aebb669d995bf5d144532068325a 100644 |
--- a/runtime/bin/vmservice/client/deployed/web/packages/observatory/src/elements/isolate_summary.html |
+++ b/runtime/bin/vmservice/client/deployed/web/packages/observatory/src/elements/isolate_summary.html |
@@ -52,6 +52,7 @@ |
<template if="{{ isolate.idle }}"> |
<strong>idle</strong> |
+ <action-link callback="{{ pause }}" label="pause"></action-link> |
</template> |
<template if="{{ isolate.loading }}"> |
@@ -63,25 +64,32 @@ |
<polymer-element name="isolate-location" extends="observatory-element"> |
<template> |
<template if="{{ isolate.pauseEvent != null }}"> |
- <template if="{{ isolate.pauseEvent['eventType'] == 'IsolateCreated' }}"> |
+ <template if="{{ isolate.pauseEvent.eventType == 'IsolateCreated' }}"> |
at isolate start |
</template> |
- <template if="{{ isolate.pauseEvent['eventType'] == 'IsolateShutdown' }}"> |
+ <template if="{{ isolate.pauseEvent.eventType == 'IsolateShutdown' }}"> |
at isolate exit |
</template> |
- <template if="{{ isolate.pauseEvent['eventType'] == 'IsolateInterrupted' }}"> |
+ <template if="{{ isolate.pauseEvent.eventType == 'IsolateInterrupted' }}"> |
at |
<function-ref ref="{{ isolate.topFrame['function'] }}"> |
</function-ref> |
(<script-ref ref="{{ isolate.topFrame['script'] }}" |
pos="{{ isolate.topFrame['tokenPos'] }}"></script-ref>) |
</template> |
- <template if="{{ isolate.pauseEvent['eventType'] == 'BreakpointReached' }}"> |
- at breakpoint {{ isolate.pauseEvent['breakpoint']['id'] }} |
+ <template if="{{ isolate.pauseEvent.eventType == 'BreakpointReached' }}"> |
+ at breakpoint {{ isolate.pauseEvent.breakpoint['id'] }} |
<function-ref ref="{{ isolate.topFrame['function'] }}"> |
</function-ref> |
(<script-ref ref="{{ isolate.topFrame['script'] }}" |
- pos="{{ isolate.topFrame['tokenPos'] }}"></script-ref>) |
+ pos="{{ isolate.topFrame['tokenPos'] }}"></script-ref>) |
+ </template> |
+ <template if="{{ isolate.pauseEvent.eventType == 'ExceptionThrown' }}"> |
+ at exception |
+ <function-ref ref="{{ isolate.topFrame['function'] }}"> |
+ </function-ref> |
+ (<script-ref ref="{{ isolate.topFrame['script'] }}" |
+ pos="{{ isolate.topFrame['tokenPos'] }}"></script-ref>) |
</template> |
</template> |