-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mac下无法设置断点,无法启动调试 #2
Comments
看了一下 py 里面的代码,shift+F2 是v3.2的quick的,修改了这部分代码以后重新执行还是没用。 (另外之前用debugger.lua 连过 eclipse,一旦用了debug以后,模拟器卡的飞起。感觉调试起来还不一定有直接 print 或者 printTable 方便) |
有一些要注意到,修改插件以后需要重启sublime。 |
@peter4431 之前无法设置断点应该是快捷键与系统快捷键设置有冲突导致的,修改之后现在可以设置断点了,不过手动启动Player之后提示:[LUA ERROR] [string "/Games/demo/scripts/debugger.lua"]:3255: Cannot connect to 127.0.0.1:10000 : Invalid argument,重启Sublime也没效果。 |
@Joey-Lee 我测试过使用2.2.4是没有问题的,我用你环境测试下看看。更新后和2系列兼容了。python的端口用的是10240,所以如果你不修改.py文件,端口应该是10240.设置为10240,是为了避免和其他的调试器冲突。 |
@peter4431 端口修改为10240依然报之前的错误,没有修改.py文件。btw:这个端口究竟是和debugger.lua中的IDEPORT(默认为10000)一致呢?还是应该和LuaSoar.py中的第354行self.sock.bind(("", 10240))这个端口一致? |
@Joey-Lee 应该是10240,我是担心冲突所以改成10240了 |
我通过package方法成功安装了插件,根据Default (OSX).sublime-keymap的源码来看,应该是按F2设置断点,shift+F2启动调试,可无论怎么设置,Sublime就是没反映。求助解决方法,谢谢!
The text was updated successfully, but these errors were encountered: