| Index: src/d8.js
|
| ===================================================================
|
| --- src/d8.js (revision 8618)
|
| +++ src/d8.js (working copy)
|
| @@ -977,9 +977,14 @@
|
| // specification it is considered a function break point.
|
| pos = target.indexOf(':');
|
| if (pos > 0) {
|
| - type = 'script';
|
| var tmp = target.substring(pos + 1, target.length);
|
| target = target.substring(0, pos);
|
| + if (target[0] == '/' && target[target.length - 1] == '/') {
|
| + type = 'scriptRegExp';
|
| + target = target.substring(1, target.length - 1);
|
| + } else {
|
| + type = 'script';
|
| + }
|
|
|
| // Check for both line and column.
|
| pos = tmp.indexOf(':');
|
| @@ -1984,6 +1989,9 @@
|
| if (breakpoint.script_name) {
|
| result += ' script_name=' + breakpoint.script_name;
|
| }
|
| + if (breakpoint.script_regexp) {
|
| + result += ' script_regexp=' + breakpoint.script_regexp;
|
| + }
|
| result += ' line=' + (breakpoint.line + 1);
|
| if (breakpoint.column != null) {
|
| result += ' column=' + (breakpoint.column + 1);
|
|
|