Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 5b1506388cb2b2f4ae24dca260faeaa95c501ae4 1 parent 2359d8b
@farshidbeheshti farshidbeheshti authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  extension/content/firebug/debugger/script/scriptView.js
View
3  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;
}
Please sign in to comment.
Something went wrong with that request. Please try again.