- Where Developers Learn, Share, & Build Careers


I'm trying to add automatic breakpoints using Chrome extensions

Special script id I'm looking for then I add a breakpoint to the same place in the search result

The code I use:

  chrome.debugger .sendCommand (debuggeeId, "Debugger. SearchInContent", {scriptId: scriptId, Query: "function"}, function (result) {for result (x result) {var lineNumber = result.result [x] LineNumber + 1; chrome.debugger.sendCommand (debuggeeId, "Debugger. SetbackPoint", {location: {scriptId: scriptId, lineNumber: lineNumber}});}}); In all, I'm getting a breakpoint in the wrong places, I do not even know where the breakpoint is, but it does not stop at the right line to make sure ...  
/ P> < P> What do I do?


Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -