Closed Bug 903214 Opened 11 years ago Closed 11 years ago

Debugger fails to load scripts evaluated in scratchpad

Categories

(DevTools :: Debugger, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 816988

People

(Reporter: irakli, Unassigned)

Details

When I evaluate some code in scratchpad, I see new script added to a debugger named Scratchpad/1 but instead of source code for it I see: "Loading…"

There is also an error output printed in console:

[18:00:33.222] Got an exception during SA_onSource: Request failed: file://Scratchpad/1:
onFetch@resource://gre/modules/devtools/dbg-server.jsm -> resource://gre/modules/devtools/server/actors/script.js:3478
@resource://gre/modules/NetUtil.jsm:137
 @ resource://gre/modules/devtools/dbg-server.jsm -> resource://gre/modules/devtools/server/actors/script.js:3565
[18:00:33.235] Error loading: Scratchpad/1
Could not load the source for Scratchpad/1. @ chrome://browser/content/devtools/debugger-view.js:285
Benvie, I think this might be related to some of your work lately with the scratchpad?
This is due to Debugger.Source and happens with any code evaluated using the Debugger object (bug 637572). Also a dupe of bug 816988.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.