Index: branches/5.2.x/core/kernel/utility/debugger.php
===================================================================
diff -u -N -r15730 -r15740
--- branches/5.2.x/core/kernel/utility/debugger.php (.../debugger.php) (revision 15730)
+++ branches/5.2.x/core/kernel/utility/debugger.php (.../debugger.php) (revision 15740)
@@ -1,6 +1,6 @@
'/temp/domviewer.html', // path to DOMViewer on website
'DOC_ROOT' => str_replace('\\', '/', realpath($_SERVER['DOCUMENT_ROOT']) ), // windows hack
'DBG_LOCAL_BASE_PATH' => 'w:', // replace DOC_ROOT in filenames (in errors) using this path
+ 'DBG_EDITOR_URL' => 'file://%F:%L',
'DBG_SHORTCUT' => 'F12', // Defines debugger activation shortcut (any symbols or Ctrl/Alt/Shift are allowed, e.g. Ctrl+Alt+F12)
);
@@ -941,7 +942,10 @@
$title = str_replace('/', '\\', $this->getLocalFile($file));
}
- return '' . $title . '';
+ $url = str_replace('%F', $this->getLocalFile($file), DBG_EDITOR_URL);
+ $url = str_replace('%L', $line_number, $url);
+
+ return '' . $title . '';
}
/**