ATTENTION: The debugger is now included on the latest phpeclipse version. Please visit phpeclipse.sourceforge.net
I will keep this page on the air for developers.


PHPEclipse - Debugger

Topics:

Screen Shots
Download pre-beta version
Installation notes
Notes about the PHPEclipse debugger development
Linux users ** NEW
Features
To Do
About me

Screen Shots

Screen Shot 1
Screen Shot 2
Screen Shot 3
Screen Shot 4

IMPORTANT NOTE: Backup your current plug-ins before installing this one. This is a pre-beta, so I don't take responsibility of any loosing or crashing information.

Download pre-beta version (last update 2003-11-26)

debug.zip * Fixed some error trapping problems. Please check latest version on CVS.

phpeclipse.zip (the rest of phpeclipse plug-in (v 1.0.6a), Caution! may not be the ultimate version)

Previous version (2003-11-09)

debugold.zip

After download, you must follow the installation instructions
See the "Features List" to kwnow limitations

Installation notes

1) Download DBG Debugger (I'm using version 2.11.4)
2) Install DBG Debugger following the instructions or read the same instructions from my page
3) Install plug-in normally

NOTE: This section was created only for informative purposes, you don't need to take any action about these points, to install the debug plug-in.

Notes about the PHPEclipse debugger development (random notes)

Download another Eclipse Plug-in with debugger (Ruby)
Note about markers http://dev.eclipse.org/newslists/news.eclipse.tools/msg01297.html
Accessing Environment Variables... It was necessary a JNI library to access os environment variables, Some links:
   LCC: A free C compiler for Windows http://www.cs.virginia.edu/~lcc-win32
   Intresting note to make JNI libraries http://www.stanford.edu/~bsuter/jni-instructions-win32.txt
   Free JNI interface to get environment variables (with sources) http://www.tigress.co.uk/rmy/java/getenv/getenv.html
   Short description how to use environment-variables under JDK 1.4 http://www.javaworld.com/javaworld/javaqa/2001-07/01-qa-0706-env.html

Linux users ** NEW

Environment settings shared library libEnvironment.so for linux compiled (thanks Fernando Lozano!!!!)
This file is escential for debugging and is the risponsible of setting environment variables for DBG extension.
It's under testing. If you are linux user please download and try it, I'm waiting for feedback.
You must uncompress the file and put it on <your plugins folder>/net.sourceforge.phpeclipse.debug.core/os/linux/x86

Notes about compilation:
This was compiled using gcc 3.2.2 so it won't work for Linux distributions using older releases of the C compiler. For the same reason, you have to use JRE 1.4.2 from Sun (or a Blackdown one compiled using gcc 3.2.2). I know for sure this should work on Red Hat 8.0 and 9.0 but don't know wich releases for other Linux distributions.

The followig command builds the library:

gcc -fpic -shared net_sourceforge_phpdt_internal_debug_core_Environment.c -I$JAVA_HOME/include -I$JAVA_HOME/include/linux -o libEnvironment.so


Features List

Add/Remove Breakpoints
Pause, Resume, Step into, Step over, Step out debugging
See stack frames, variable values, objects, arrays, etc.

To Do List

Code evaluation
Profiler?
A lot...A lot...A lot...

About

Contact Fernando Vicente

Your country is
You are the visitor number
Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /server/www/alfersoft.com.ar/www/phpeclipse/stats.php on line 26
- see counter stats