dongque8332 2013-01-02 21:00
浏览 44

Aptana 3 + Xdebug问题

I'm trying to get Aptana 3 to work with Xdebug and Firefox on Ubuntu 10.04. I have no problems setting this up with PhpStorm, so I'm blaming Aptana at the moment.

I'm at a loss as to what is wrong... if I run the page as a script, it works fine and I can step through the code, though that option has since mysteriously disappeared.

If I select Run as PHP Server, the page appears in FF but the debugger doesn't run. The following error message appears in the Aptana log:

ENTRY org.eclipse.debug.core 4 125 2013-01-02 13:54:40.040
!MESSAGE Error logged from Debug Core: 
!STACK 0
java.io.IOException: Stream closed
    at java.io.BufferedInputStream.getBufIfOpen(Unknown Source)
    at java.io.BufferedInputStream.read(Unknown Source)
    at java.io.BufferedInputStream.read1(Unknown Source)
    at java.io.BufferedInputStream.read(Unknown Source)
    at java.io.FilterInputStream.read(Unknown Source)
    at org.eclipse.debug.internal.core.OutputStreamMonitor.read(OutputStreamMonitor.java:144)
    at org.eclipse.debug.internal.core.OutputStreamMonitor.access$1(OutputStreamMonitor.java:134)
    at org.eclipse.debug.internal.core.OutputStreamMonitor$1.run(OutputStreamMonitor.java:207)
    at java.lang.Thread.run(Unknown Source)

If I try to launch via the Run configuration it pops up a FF window that goes to Aptana's homepage and a progress bar dialog box that eventually just times out.

The Aptana plugin icon on the lower right is lit up, so I don't think that that's the issue. There's no message in the console or browser output. The Aptana log file is blank.

You can find pics of the Aptana Run config here, and FF+progress bar here.

This is massively annoying... debugging is pretty basic, you'd think this would either be well documented (I can't find anything about it) or simple to set up (hah! obviously not). Grrrrr...

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 2020长安杯与连接网探
    • ¥15 关于#matlab#的问题:在模糊控制器中选出线路信息,在simulink中根据线路信息生成速度时间目标曲线(初速度为20m/s,15秒后减为0的速度时间图像)我想问线路信息是什么
    • ¥15 banner广告展示设置多少时间不怎么会消耗用户价值
    • ¥16 mybatis的代理对象无法通过@Autowired装填
    • ¥15 可见光定位matlab仿真
    • ¥15 arduino 四自由度机械臂
    • ¥15 wordpress 产品图片 GIF 没法显示
    • ¥15 求三国群英传pl国战时间的修改方法
    • ¥15 matlab代码代写,需写出详细代码,代价私
    • ¥15 ROS系统搭建请教(跨境电商用途)