Hi all, No I'm not asking for a PHP debugger in textmate, but I am curious what you guys do to get around this. Currently I'm the only textmate user at the company I work for, everyone else uses ZDE. While I wouldn't want to give up all the things textmate offers, I am a bit jealous of the debugger they have in their IDE as in some cases it really makes it easy to resolve issues. So is there any options for us textemate users? Is there other ways to use the debugger outside of ZDE that makes it possible to have a debugger on the side?
Any advice would be appreciated.
Thanks, Clark
In article a434fe6b0804110800q6a834d63t765afacf1645aaf8@mail.gmail.com "ClarkEndrizzi" cendrizzi@gmail.com wrote:
Any advice would be appreciated.
The application I develop for (TYPO3) has a built-in development log I can write to, so I simply write to it from within my extension while tail -f and grep gets me real time output in the terminal while I run it. Probably not quite what you were looking for, but it's made stuff very easy for me because I can add text and descriptions to the variable and see it, so I somewhat know the order things are executed in and what the variable values mean, without having to step through a debugger.
Christoph
Yeah, I've done stuff like that in that past. I've also made a page that contains all session data, while allowing you to edit and add session properties. Still, however, it's a bit weak when you compare it to a full fledged debugger where you can see all variables and stuff.
I wish there was some kind of firefox extension that allowed you to step through code or somethig. You can't edit the php, but you can get the debug info you want. Maybe it would work...
Anyone else have some good things they've done?
On Fri, Apr 11, 2008 at 2:53 PM, Christoph Koehler < christoph.koehler@gmail.com> wrote:
In article a434fe6b0804110800q6a834d63t765afacf1645aaf8@mail.gmail.com "ClarkEndrizzi" cendrizzi@gmail.com wrote:
Any advice would be appreciated.
The application I develop for (TYPO3) has a built-in development log I can write to, so I simply write to it from within my extension while tail -f and grep gets me real time output in the terminal while I run it. Probably not quite what you were looking for, but it's made stuff very easy for me because I can add text and descriptions to the variable and see it, so I somewhat know the order things are executed in and what the variable values mean, without having to step through a debugger.
Christoph
--
I'm using an evaluation license of nemo since 305 days. You should really try it! http://www.malcom-mac.com/nemo
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
On 11 Apr 2008, at 10:00, Clark Endrizzi wrote:
Is there other ways to use the debugger outside of ZDE that makes it possible to have a debugger on the side?
You can use Xdebug[1], it has at least a command-line client, though it would require entering the commands manually. I have an xdebug plug- in for TextMate but it is unfinished, and with TM 2 in the pipeline (with a public API for stuff like this) I most likely won’t be working on it until TM2 release.
Personally I tend to use echo/var_dump/die/debug_print_backtrace for debugging. Having xdebug installed is very handy even if you don’t use the debugger as it gives nice backtraces.
Your best friend for debugging is KRUMO. It's a nice DHTML representation of all the debug functions PHP has.
I was only introduced to Krumo last week, but already it's saving me headaches.
-jc
On Sat, Apr 12, 2008 at 1:00 AM, Clark Endrizzi cendrizzi@gmail.com wrote:
Hi all, No I'm not asking for a PHP debugger in textmate, but I am curious what you guys do to get around this. Currently I'm the only textmate user at the company I work for, everyone else uses ZDE. While I wouldn't want to give up all the things textmate offers, I am a bit jealous of the debugger they have in their IDE as in some cases it really makes it easy to resolve issues. So is there any options for us textemate users? Is there other ways to use the debugger outside of ZDE that makes it possible to have a debugger on the side?
Any advice would be appreciated.
Thanks, Clark
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate