Debug without saving |
Guru master
|
Since all execution is done by the PHP Interpreter and not the IDE this is is not really an option The file needs to be saved to disk for the PHP parser to be able to read your last code changes.
I'm afraid that unless the IDE itself would incorporate a version of PHP that is technically impossible. |
||||||||||||
|
Site Admin
|
Hmm, technically it's possible. Even more, one known IDE follows this approach.
Regardless of the user choise, it runs dummy.php. When the debugger starts, the IDE sends real content and tells the debugger to "override" the file content with what user started the debugger. Personally, I see only one benefit: you don't have to save the file on disk to start it in the debugger. On the other hand, if you have 30-40 files and all are actively develped and include or depend on each other, the IDE has to transfer them to the debugger each time you start the debugger. Even one file slows down the debugger startup. Plus, it's really hard to replace "dummy.php" with real user file. The bunny ears are visible there and here (in many places). Regardless how carefully the debugger "overrides" the file content, dummy still can be found. In other words, this approach is not clean and may affect the debugging results. Finally, you want to debug your file, why would IDE run something else? If saving the file is just an additional step that takes your time, there is a simple solution. To make your life easier, we implemented "auto save". You may want to check this option and PhpED will save the files each time you press "Run" or "Run with debugger". In case of remote files (sftp/ftp/dav), you may want to check "auto upload" and IDE will upload the files before running them. |
||||||||||||
_________________ The PHP IDE team |
|
Thanks for the replies Blizz and dmitri.
I'll post a feature request for a "quick execute" feature. It's main use would be to just execute a php script without any debugging. It should show output in either text or html format, and not require files to be saved. Cheers |
||||||||||||
|
|
Hey Dimitri tht was a lot helpful man........thnx
Regards |
||||||||||||
|
Debug without saving |
|
||
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