Debugger now steps through embedded PHP in HTML files.
authorstefanbjarni <stefanbjarni>
Wed, 25 May 2005 21:45:54 +0000 (21:45 +0000)
committerstefanbjarni <stefanbjarni>
Wed, 25 May 2005 21:45:54 +0000 (21:45 +0000)
commite58606a5d1958411baa9c362879b7e9405089cfa
tree2ec659031e6ad5fc0f96dc2629ce291ec04bc567
parentce9b958d4c88a562e96bf242a4078fb12f1fcd00
Debugger now steps through embedded PHP in HTML files.
Fixed a bug that prevented the debugger from popping up the right line in a PHP editor.

Mods:

debug.ui plugin:
    PHPSourceLocator.java: Moved this file to the launching plugin

launching:
    PHPSourceLocator.java:
        Moved this file from the debug.ui plugin
    PHPLaunchConfigurationDelegate.java:
        Added the getLaunch method.
        This puts the PHP source locator into the launch,
        which let's the debugger client find lines in PHP source.
    plugin.xml:
        PHP debugger now associated with .htm and .html files,
        so it's possible to step through embedded PHP code in HTML files.

Tested: PHPeclipse CVS HEAD on Windows, against Xampp on local host.
net.sourceforge.phpeclipse.launching/plugin.xml
net.sourceforge.phpeclipse.launching/src/net/sourceforge/phpdt/internal/launching/PHPLaunchConfigurationDelegate.java
net.sourceforge.phpeclipse.launching/src/net/sourceforge/phpdt/internal/launching/PHPSourceLocator.java [moved from net.sourceforge.phpeclipse.debug.ui/src/net/sourceforge/phpdt/internal/debug/ui/PHPSourceLocator.java with 97% similarity]