Some SW1 corrections

This commit is contained in:
Jeff Parsons 2015-12-15 18:16:47 -08:00
commit 18a4afb85b
2 changed files with 7 additions and 6 deletions

View file

@ -7746,11 +7746,12 @@ if (DEBUGGER) {
while (cb > 0 && n--) {
var addr = dbgAddr.addr;
var nSequence = (this.isBusy(false) || this.nStep)? this.nCycles : null;
var sComment = (nSequence != null? "cycles" : null);
var aSymbol = this.findSymbol(dbgAddr);
var addr = dbgAddr.addr; // we snap dbgAddr.addr *after* calling findSymbol(), which re-evaluates it
if (aSymbol[0] && n) {
if (!cLines && n || aSymbol[0].indexOf('+') < 0) {
var sLabel = aSymbol[0] + ':';