General debugging |
Site Admin
|
Debugger is just like a library that provides all its service to the IDE. It performs all manipulations with execution flow, evaluates expressions, sets breakpoints, react on them and so forth. IDE is reponsible for interpreting the results, showing source files, moving execution point, drawing the variables in the trees and so forth.
Debugger has no visial interfaces other than the dbglistener window... You'd refer to the IDE manual to see where to look at variables. In PHPED you can use Watch, Immediate, Locals and Globals. I think something similar exist in PhpEdit.
In PhpED you can set breakpoints and execute (F9) or step (F7 or F.
It's a kind of embedded breakpoint and activates debug session if it wasn't in effect. Nothing really special.
Sometimes remote debugging is more difficult because it requires to set up proper mapping. In local case, mapping has no sense, at least not much. |
||||||||||||||||||||||
|
|
The speed that you reply on this forum is ridiculous. : ) Thanks for your debugger and your help!
I guess since my debug session starts and I can see the files, I'll assume everything is working and I just need to figure out how in PHPEdit.
So there aren't any other useful function calls like DebugBreak? Is there any other mapping besides IP/port when running remotely? Does running locally just mean lauching a browser on the server machine with DBG Listener running? I have access to the server but if working remotely is working, I'd rather continue doing that. |
||||||||||||||||||
|
Site Admin
|
I meant mapping to be performed by the IDE. For example, if your server runs /var/www/index.php the IDE shoud know what file to show, for example c:\myproj\index.php. I am not sure if any IDE other than NuSphere PhpED supports file mapping.
"locally" means that the server and client both are running on the same machine. In any case, you run browser on the client computer.
If you refer to PHPEDIT you'd ask the author(s). I can help you with NUSPHERE PHPED only. Latter works fine with remote servers. |
||||||||||||||||||
|
General debugging |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by