2013-12-22 08:21:35 +00:00
|
|
|
<div class="debugger-main" ng-controller="CodeTabController">
|
2013-12-21 19:53:49 +00:00
|
|
|
<div class="debugger-header">
|
2013-12-24 00:13:16 +00:00
|
|
|
<div class="btn-group btn-group-sm">
|
2013-12-26 01:31:53 +00:00
|
|
|
<button type="button" class="btn btn-success" ng-click="app.session.continueExecution()" ng-disabled="!app.session.paused">
|
2013-12-24 00:13:16 +00:00
|
|
|
<span class="glyphicon glyphicon-play"></span>
|
|
|
|
</button>
|
2013-12-26 01:31:53 +00:00
|
|
|
<button type="button" class="btn btn-danger" ng-click="app.session.breakExecution()" ng-disabled="app.session.paused">
|
2013-12-24 00:13:16 +00:00
|
|
|
<span class="glyphicon glyphicon-pause"></span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div class="btn-group btn-group-sm">
|
2013-12-26 01:31:53 +00:00
|
|
|
<button type="button" class="btn btn-default" ng-click="showLocation()" ng-disabled="!app.session.paused">
|
2013-12-24 00:13:16 +00:00
|
|
|
<span class="glyphicon glyphicon glyphicon-arrow-right"></span>
|
|
|
|
</button>
|
2013-12-26 01:31:53 +00:00
|
|
|
<button type="button" class="btn btn-default" ng-click="app.session.stepNext()" ng-disabled="!app.session.paused">
|
2013-12-24 00:13:16 +00:00
|
|
|
<span class="glyphicon glyphicon-step-forward"></span>
|
|
|
|
</button>
|
|
|
|
</div>
|
2013-12-21 19:53:49 +00:00
|
|
|
</div>
|
|
|
|
<div class="debugger-body">
|
|
|
|
<div class="debugger-fnlist">
|
|
|
|
<div class="debugger-fnlist-header">
|
2013-12-24 22:09:19 +00:00
|
|
|
<div class="debugger-fnlist-header-left btn-group btn-group-xs full-width">
|
2013-12-26 01:31:53 +00:00
|
|
|
<button type="button" class="btn btn-default dropdown-toggle left-align full-width" data-toggle="dropdown">
|
2013-12-22 10:59:42 +00:00
|
|
|
{{selectedModule.name}} <span class="caret"></span>
|
2013-12-21 19:53:49 +00:00
|
|
|
</button>
|
|
|
|
<ul class="dropdown-menu" role="menu">
|
2013-12-22 10:59:42 +00:00
|
|
|
<li ng-repeat="module in moduleList"><a href="" ng-click="selectModule(module)">{{module.name}}</a></li>
|
2013-12-21 19:53:49 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
2013-12-24 22:09:19 +00:00
|
|
|
<div class="debugger-fnlist-header-right btn-group btn-group-xs">
|
2013-12-26 01:31:53 +00:00
|
|
|
<button type="button" class="btn btn-default" ng-click="showModuleInfo()">
|
2013-12-24 22:09:19 +00:00
|
|
|
Info
|
|
|
|
</button>
|
|
|
|
</div>
|
2013-12-21 19:53:49 +00:00
|
|
|
</div>
|
|
|
|
<div class="debugger-fnlist-body">
|
|
|
|
<div class="debugger-fnlist-list">
|
2013-12-22 10:59:42 +00:00
|
|
|
<table class="table table-hover">
|
|
|
|
<tr ng-repeat="fn in functionList | filter:functionFilter | orderBy:'address'">
|
2013-12-25 06:08:44 +00:00
|
|
|
<td><a xe-coderef="{{fn.address|hex32}}">{{fn.name}}</a></td>
|
2013-12-22 10:59:42 +00:00
|
|
|
</tr>
|
|
|
|
</table>
|
2013-12-21 19:53:49 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="debugger-fnlist-footer">
|
|
|
|
<div class="input-group input-group-sm">
|
2013-12-22 10:59:42 +00:00
|
|
|
<input type="text" class="form-control" placeholder="Filter" ng-model="functionFilter" ui-escape="functionFilter = ''">
|
2013-12-21 19:53:49 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2013-12-22 10:59:42 +00:00
|
|
|
<div class="debugger-fnview-outer" ui-view></div>
|
2013-12-21 19:53:49 +00:00
|
|
|
<div class="debugger-tools">
|
|
|
|
<div class="debugger-tools-threads">
|
2013-12-26 01:31:53 +00:00
|
|
|
<div class="debugger-tools-threads-header-left btn-group btn-group-xs full-width">
|
|
|
|
<button type="button" class="btn btn-default left-align dropdown-toggle full-width" data-toggle="dropdown">
|
|
|
|
Thread {{app.session.activeThread.id}}: {{app.session.activeThread.name}} <span class="caret"></span>
|
2013-12-21 19:53:49 +00:00
|
|
|
</button>
|
|
|
|
<ul class="dropdown-menu" role="menu">
|
2013-12-26 01:31:53 +00:00
|
|
|
<li ng-repeat="thread in app.session.state.threadList | orderBy:'id'">
|
|
|
|
<a href="" ng-click="app.session.activeThread = thread;">Thread {{thread.id}}: {{thread.name}}</a>
|
|
|
|
</li>
|
2013-12-21 19:53:49 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
2013-12-26 01:31:53 +00:00
|
|
|
<div class="debugger-tools-threads-header-right btn-group btn-group-xs">
|
|
|
|
<button type="button" class="btn btn-default" ng-click="showThreadInfo()">
|
|
|
|
Info
|
|
|
|
</button>
|
|
|
|
</div>
|
2013-12-21 19:53:49 +00:00
|
|
|
</div>
|
|
|
|
<div class="debugger-tools-callstack">
|
|
|
|
callstack
|
|
|
|
</div>
|
|
|
|
<div class="debugger-tools-registers">
|
|
|
|
registers
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|