开发者

Eclipse Debugger Hangs on Mac OSX

I consider myself to be a seasoned Eclipse veteran, familiar with a variety of installs and configurations. However, I'm currently unable to get the debugger in Eclipse Helios to work on my开发者_如何学编程 Mac. Any insight would be greatly appreciated.

Using:

  • Mac OSX 10.6.7
  • Eclipse Helios PDT Cocao 64-bit
  • PHP 5.2.9 (XAMPP 1.0.1)
  • JRE 1.6.0

Tried both Zend Debugger and Xedug.for 5.2.x Debuggers were each separately, properly installed and verified with php_info().

When launching a page in debug mode, Eclipse hangs for about a minute then throws a heap stack error. On a personal note, I've set up Eclipse PDT + XAMPP/MAMP + Zend/Xdebug numerous times on both Windows and Mac, and never seen this error. I'm really at a loss here. Looking forward to your comments!


Thanks Ed!

The answer was indeed memory related. For those of you coming from the PC world like myself, the Mac version of Eclipse PDT uses way more memory.

The answer?

  • Downgrade to the 32 bit version.
  • Up the memory Eclipse is allowed to use, by a lot.
  • Close any un-used projects.

The last one was key. I used to leave all my projects open and never had any problems. In order to get things to run on Mac, I had to close all projects except the one I was attempting to debug.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜