Permalink
Browse files

Show debug location (yellow highlight) when editor isn't initialized yet

  • Loading branch information...
1 parent 2359d8b commit 5b1506388cb2b2f4ae24dca260faeaa95c501ae4 @farshidbeheshti farshidbeheshti committed Mar 21, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 extension/content/firebug/debugger/script/scriptView.js
@@ -127,7 +127,7 @@ ScriptView.prototype = Obj.extend(new Firebug.EventSource(),
this.showSource(this.defaultSource);
if (this.defaultLine > 0)
- this.scrollToLineAsync(this.defaultLine);
+ this.scrollToLineAsync(this.defaultLine, this.defaultOptions);
this.initBreakpoints();
},
@@ -446,6 +446,7 @@ ScriptView.prototype = Obj.extend(new Firebug.EventSource(),
if (!this.initialized)
{
this.defaultLine = lineNo;
+ this.defaultOptions = options;
return;
}

0 comments on commit 5b15063

Please sign in to comment.