Debugging in Pharo 5 headless mode

别来无恙 提交于 2019-12-11 03:34:26

问题


I'm running pharo 5 (seaside) in headless mode, with RFB:

./pharo -vm-display-null -vm-sound-null /app/pharo5/Pharo5.0.image --no-quit

Locally works well (Ubuntu 14 with XFCE).

In DigitalOcean (Ubuntu 14 without GUI) it works until the debugger is activated: then it closes. I can connect via VNC with no problem, but when I execute a Halt or an error it triggers the debugger, it leaves ... some clue of the problem?


回答1:


This sounds like a case where remote debugging might be a reasonable approach. This project, PharmIDE, (previously name, "Remote Debugging", currently named "TelePharo") purports to provide debugging of remote images. There is a repository for it on Github under the current name.

*[Disclaimer, I have not used it.]



来源:https://stackoverflow.com/questions/44616919/debugging-in-pharo-5-headless-mode

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!