Eclipse debug neutron-server
1 首先停掉neutron-server
kill neutron-server in screen by ctr-c q-svc
2
cp /usr/local/bin/neutron-server opt/stack/neutron/bin/neutron-server.py
/opt/stack/neutron/bin$ chmod 644 neutron-server.py
F5 flash neutron project in eclipse
3
diff --git a/neutron/common/eventlet_utils.py b/neutron/common/eventlet_utils.py
index cf995d5..2056562 100644
--- a/neutron/common/eventlet_utils.py
+++ b/neutron/common/eventlet_utils.py
@@ -29,4 +29,4 @@ def monkey_patch():
# eventletmonkey_patch-breaks
eventlet.monkey_patch(os=False, thread=False)
else:
- eventlet.monkey_patch()
+ eventlet.monkey_patch(os=False, thread=False)
4 配置eclipse debug
project = neutron
Main Modle = ${workspace_loc:neutron/bin/neutron-server.py}
Arguments = --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini
4 在nova.conf中添加:
[conductor]
use_local=true
F5 step in
F6 next step
F7 step out
参考:http://blog.csdn.net/quqi99/article/details/40949799
http://www.cnblogs.com/ycxyyzw/archive/2013/03/27/2983905.html
转载于:https://www.cnblogs.com/allcloud/p/5481715.html
Eclipse debug neutron-server相关推荐
- SLF4J: Failed toString() invocation on an object of type [org.eclipse.jetty.websocket.server......
在配置SpringBoot的log时,遇到如下错误: SLF4J: Failed toString() invocation on an object of type [org.eclipse.jet ...
- Debug a Server–Side Rendered SAP Spartacus Storefront Using Chrome Dev Tools
In SAP Spartacus document there is a page for "How to Debug a Server–Side Rendered Storefront&q ...
- eclipse debug(程序调试)单步执行 简述
eclipse debug(程序调试)单步执行 简述 1.在需要程序停止的地方 双击打一个断点 2.右键以debug模式执行(有个虫子标志的选项) 3.单步执行 观察变量的变化 如图所示: debug ...
- eclipse debug 工程源码时出现source not found问题解决
问题描述:使用eclipse debug启动应用,并且打断点在工程的源码上面,提示source not found. 问题解决: 1.选中工程,右键Debug As>Debug Configur ...
- Setting property 'source' to 'org.eclipse.jst.jee.server
警告: [SetPropertiesRule] Setting property 'source' to 'org.eclipse.jst.jee.server:project' did not fi ...
- Eclipse Debug不能热部署解决
摘要: Eclipse Debug不能热部署代码may be out-of-synch 问题描述:Project通过ant工具编译部署到JBoss下,在使用Eclipse远程调试功... " ...
- mac 电脑 eclipse 启动停在 org.eclipse.debug.core 导致无法启动
问题: 解决方法: 将工作目录下(下方目录) workspace/.metadata/.plugins/org.eclipse.debug.core/.launches/ 中内容删除,重启,解决问题. ...
- Eclipse Debug 配置
Eclipse Debug 配置 创建和使用 Debug 配置 Eclipse Debug 配置类似于运行配置但它是用于在调试模式下开启应用. 打开 Debug 配置对话框步骤为:Run > D ...
- 解决Setting property 'source' to 'org.eclipse.jst.jee.server的问题
这是我于2013年9月4号晚遇到的问题,为了这个问题我一夜没睡! 对于这个问题,我相信我的方法已经能帮90%的人解决了! 当你用Eclipse运行web项目的时候,你就会看到控制台出现: WARNIN ...
最新文章
- 人工智能浪潮正席卷全球
- vue 分模块打包 脚手架_手动撸一个webpack4脚手架(仿vuecli2)
- linux内核杂记(7)-进程调度(2)
- openresty获取nginx请求url中的所有参数
- python爬取评论_python爬取网易云音乐评论
- Golang heap源码简单走读
- linux下Oracle 相关命令
- ubuntu 16.04安装显卡驱动
- html阅读模式怎么进入word模式,word阅读模式怎么取消
- idea一个工作空间打开多个项目
- 服务器配置参数主要有哪些
- java 解析3层xml_java实战之解析xml
- 比较iOS和Android的优缺点,第一次安卓机优缺点总结(对比iOS系统)
- 华为的TACK和谷歌的RACK有什么区别?
- java怎么找ascii码值,用java编写在键盘上输入任意一个字母 ,显示ASCII码值
- java计算二叉树的节点最小值_求二叉树根节点到叶子节点路径和的最小值:遍历(递归+非递归)...
- 自动控制原理 传递函数
- NetworkX入门及实战教程
- 数据泵(一)-基本概念
- java毕业设计沧州市博众集团有限公司生产管理系统Mybatis+系统+数据库+调试部署