ActiveState Community

OS X Leopard

PHP5.3 debugging: variables "unitialized"

Hi,

Debugging with xdebug is unusable, as most variables ($this->* usually works, but local variables not) are always shown as "unitinalized" in "Local" tab. If I watch a variable, Type is always "exception".

I have XAMPP 1.7.2a with PHP5.3 running on MacOS X.
I already tried Komodo 5.1 and 5.2's nightly build. I tried xdebug.so from XAMPP and from Komodo. Nothing works.

As soon as I switch to PHP 5.2.9, everythink works fine again.

Can anybody reproduce?

Steffen

perlctrl - Component Object Model (COM) Development on Mac OS X

Link:
http://macdevcenter.com/pub/a/mac/2004/04/16/com_osx.html?page=1

how will I be able to achieve creating a .component with perlctrl

Thanks in advance for all help.

Regards,

Jeremy

ctrl-space (set-mark) emacs keybinding not working on mac os X

The setting in emacs mode is correctly set to its default of ctrl-space. But, it appears that that key is not getting to komodo. This is my assumption based on the fact that if I attempt to reset it by typing ctrl+space in the New Key Sequence box, I get the popup menu for cut/copy/paste/select all, etc.

Is there a known workaround for this? I'm using a standard mac keyboard. I'm a long-time emacs user and having to use the mouse to select and copy is really slowing me down compared to setting the mark, moving, and then cutting or copying.

Thanks!

Validate XML with XSD

Running Komodo edit (free) - is there way to take my XML and my XSD and have komodo validate the schema?

Print to HTML without line numbers

My work group uses a collaborative website to share and document code, and we love the 'print to html' feature in Komodo Edit. However, we would really like to be able to insert that published code directly, without having to manually delete line numbers. As far as I can tell this is not currently possible. I'm happy to edit the script that converts Komodo documents to html (so that it can do so without exporting line numbers) and then publish the result as a Komodo extension. Can anyone point me toward the file I should edit to accomplish this?

Thanks!

Anyone got a (free/OS) SQL formatter for me?

Hi,

I've been searching the web for a decent free or open source SQL formatter to use within Komodo (5.1.4), since at my job I regularly run into large and unformatted (My)SQL queries.
And if there isn't one available, I will settle for one to use outside of Komodo (on Mac OS X Leopard).

Anyone?

Patrick.

Zend debugger

Hi,

Is it possible to use Zend Studio Debugger with Komodo?

I seem to be having some issues with Xdebug 2.0.5 and PHP 5.3.

For some reason non-member local variables within methods inside classes are all "uninitialized" when I debug with xdebug. I can see the member variables fine though.

Is this a known bug? Is it possible to use Zend Studio debugger instead or is that only for Zend Studio?

Thanks,
Chris

PHP Beautifier and PHP 5.3

I just upgraded to PHP 5.3 and now when I run beautifier I get deprecated warnings. I tried setting error reporting to 0 in the Beautifier.php file but that doesn't help. Here is the error I get:


Deprecated: Assigning the return value of new by reference is deprecated in /usr/local/PEAR/PEAR/Config.php on line 650

Call Stack:
0.0009 391176 1. {main}() /usr/local/bin/php_beautifier:0
0.0230 2347296 2. PHP_Beautifier_Batch->addFilter() /usr/local/bin/php_beautifier:203

UDL keyword highlighting for Stata

Hi all,

I'm new to UDL, currently working on building an extension to handle Stata code. I'm most of the way there, but I can't get the keyword highlighting to act appropriately. Despite the "keyword_style SSL_IDENTIFIER => SSL_WORD" statement, keywords just show up in black.

Here is the upper portion of the UDL file:


language STATA

keyword_style SSL_IDENTIFIER => SSL_WORD

keywords [ foreach if in of for any pause more set on off by bysort sort use save saveold insheet using

PHPUnit help

Howdy.

I'm interested in using Komodos IDEs PHPUnit integration, but I'm a little stumped.

I've installed PHPUnit as described here:
http://www.phpunit.de/manual/current/en/installation.html

Then I added a folder called "tests" to the root of my project.

Next I clicked Project>Tests>"Create new test plan", given it a name, and pointed it to the root of my project.

I now get the errors below on the Test Results tab.