Closed Bug 1109223 Opened 10 years ago Closed 10 years ago

function defined in scratchpad doesn't display in debugger

Categories

(DevTools :: Debugger, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 816988

People

(Reporter: tromey, Unassigned)

Details

I had the debugger up and wanted to modify a function.
I copied it to the scratchpad and made my modifications.
Then I evaluated it in the scratchpad.

The debugger source list has "Scratchpad/1", but
the contents just say:

Error loading source:
loadSourceError

The browser console has:

Got an exception during SA_onSource: Request failed with status code = 2152857618 after NetUtil.asyncFetch for url = file://Scratchpad/1:
onFetch@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/DevToolsUtils.js:469:29
NetUtil_asyncOpen/<.onStopRequest@resource://gre/modules/NetUtil.jsm:123:17
It's a known issue, but we may now be able to fix it with James's recent work on Debugger.Source.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.