Skip to content

Instantly share code, notes, and snippets.

Jason Laster jasonLaster

Block or report user

Report or block jasonLaster

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View foo.diff
diff --git a/devtools/server/actors/common.js b/devtools/server/actors/common.js
index 865a2379f2c9..43ed75769340 100644
--- a/devtools/server/actors/common.js
+++ b/devtools/server/actors/common.js
@@ -145,6 +145,10 @@ SourceLocation.prototype = {
return this._lastColumn;
},
+ get sourceUrl() {
+ return this.sourceActor.url;
View foo.diff
diff --git a/devtools/client/debugger/panel.js b/devtools/client/debugger/panel.js
index 4723ee44ace5..fa4d30582d4b 100644
--- a/devtools/client/debugger/panel.js
+++ b/devtools/client/debugger/panel.js
@@ -160,27 +160,14 @@ DebuggerPanel.prototype = {
return this._actions.selectSourceURL(cx, url, { line, column });
},
- async selectSource(sourceId, line, column, options) {
+ async selectSource(sourceId, line, column) {
View foo.diff
diff --git a/devtools/client/debugger/bin/module-manifest.json b/devtools/client/debugger/bin/module-manifest.json
index 4b502dfb3abb..9fd21fbb6a90 100644
--- a/devtools/client/debugger/bin/module-manifest.json
+++ b/devtools/client/debugger/bin/module-manifest.json
@@ -15,7 +15,7 @@
"byName": {},
"byBlocks": {},
"usedIds": {
- "1": 1
+ "0": 0
View foo.diff
commit fd0d04db1dc79cc4db09ad9ec28a7bacdc6c6bc4
Author: Jason Laster <jlaster@mozilla.com>
Date: Fri Aug 9 13:53:59 2019 -0700
Bug 1572850 - Refactor resumeThenPauseAtLineFunctionFactory to use dbg helpers.
diff --git a/devtools/client/debugger/test/mochitest/helpers.js b/devtools/client/debugger/test/mochitest/helpers.js
index 7106e3f236c8..ab23d8974c51 100644
--- a/devtools/client/debugger/test/mochitest/helpers.js
+++ b/devtools/client/debugger/test/mochitest/helpers.js
View foo.diff
diff --git a/devtools/client/debugger/test/mochitest/browser_dbg-expressions.js b/devtools/client/debugger/test/mochitest/browser_dbg-expressions.js
index ff8c2f04b2cb..e795a327223c 100644
--- a/devtools/client/debugger/test/mochitest/browser_dbg-expressions.js
+++ b/devtools/client/debugger/test/mochitest/browser_dbg-expressions.js
@@ -30,17 +30,25 @@ function assertEmptyValue(dbg, index) {
add_task(async function() {
const dbg = await initDebugger("doc-script-switching.html");
+ const { getExpression } = dbg.selectors;
View foo.diff
diff --git a/devtools/server/actors/thread.js b/devtools/server/actors/thread.js
index 0545314b2d54..2441947e4863 100644
--- a/devtools/server/actors/thread.js
+++ b/devtools/server/actors/thread.js
@@ -488,6 +488,8 @@ const ThreadActor = ActorClassWithSpec(threadSpec, {
},
removeBreakpoint(location) {
+
+
View foo.diff
diff --git a/devtools/server/actors/thread.js b/devtools/server/actors/thread.js
index 0545314b2d54..2441947e4863 100644
--- a/devtools/server/actors/thread.js
+++ b/devtools/server/actors/thread.js
@@ -488,6 +488,8 @@ const ThreadActor = ActorClassWithSpec(threadSpec, {
},
removeBreakpoint(location) {
+
+
View foo.diff
commit 26fc65a855d490bca7c3b9641527813eebc96677
Author: Jason Laster <jlaster@mozilla.com>
Date: Wed Jul 31 13:58:37 2019 -0700
tweaks
diff --git a/devtools/client/debugger/src/components/Editor/InlinePreview.css b/devtools/client/debugger/src/components/Editor/InlinePreview.css
index 8ffcc27596a6..9b4537c6ed35 100644
--- a/devtools/client/debugger/src/components/Editor/InlinePreview.css
+++ b/devtools/client/debugger/src/components/Editor/InlinePreview.css
View foo.diff
diff --git a/devtools/client/debugger/src/components/Editor/InlinePreview.js b/devtools/client/debugger/src/components/Editor/InlinePreview.js
index 606281bbd30a..3e3cfeab6680 100644
--- a/devtools/client/debugger/src/components/Editor/InlinePreview.js
+++ b/devtools/client/debugger/src/components/Editor/InlinePreview.js
@@ -17,19 +17,20 @@ const {
type Props = {
line: number,
- value: any,
variable: string,
View foo.diff
diff --git a/devtools/server/actors/thread.js b/devtools/server/actors/thread.js
index f7c09a3ce9fc..44de146ccb28 100644
--- a/devtools/server/actors/thread.js
+++ b/devtools/server/actors/thread.js
@@ -840,6 +840,13 @@ const ThreadActor = ActorClassWithSpec(threadSpec, {
return undefined;
}
+ console.log(`>>> POP just happened ${location.line}, ${location.column}`);
+ console.log(`>> ${this.generator} ${this.type}`, completion)
You can’t perform that action at this time.