Skip to content

Instantly share code, notes, and snippets.

@jlongster
Created June 27, 2016 19:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jlongster/aeb9d7ba6b9f3fa92a8387a9f5155cce to your computer and use it in GitHub Desktop.
Save jlongster/aeb9d7ba6b9f3fa92a8387a9f5155cce to your computer and use it in GitHub Desktop.
const scripts = threadActor.dbg.findScripts({ url: url });
const source = scripts[0].source;
const generatedActor = this.sources.createNonSourceMappedActor(source);
const generatedLocation = new GeneratedLocation(
generatedActor, line, column
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment