惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Attack and Defense Labs
Attack and Defense Labs
T
Threatpost
C
Cybersecurity and Infrastructure Security Agency CISA
H
Hackread – Cybersecurity News, Data Breaches, AI and More
I
Intezer
C
Cyber Attacks, Cyber Crime and Cyber Security
The Register - Security
The Register - Security
量子位
Security Latest
Security Latest
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
大猫的无限游戏
大猫的无限游戏
小众软件
小众软件
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
C
CXSECURITY Database RSS Feed - CXSecurity.com
MyScale Blog
MyScale Blog
J
Java Code Geeks
Apple Machine Learning Research
Apple Machine Learning Research
Google DeepMind News
Google DeepMind News
WordPress大学
WordPress大学
Spread Privacy
Spread Privacy
Jina AI
Jina AI
博客园 - 【当耐特】
P
Palo Alto Networks Blog
Last Week in AI
Last Week in AI
SecWiki News
SecWiki News
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
G
GRAHAM CLULEY
宝玉的分享
宝玉的分享
Hacker News - Newest:
Hacker News - Newest: "LLM"
T
The Blog of Author Tim Ferriss
V
Vulnerabilities – Threatpost
有赞技术团队
有赞技术团队
T
Tor Project blog
H
Hacker News: Front Page
A
Arctic Wolf
NISL@THU
NISL@THU
A
About on SuperTechFans
云风的 BLOG
云风的 BLOG
Engineering at Meta
Engineering at Meta
V
V2EX
N
News and Events Feed by Topic
Webroot Blog
Webroot Blog
Know Your Adversary
Know Your Adversary
P
Privacy International News Feed
I
InfoQ
D
Docker
L
LINUX DO - 最新话题
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
U
Unit 42

博客园 - foward.molly.宝儿

POI 生成excel(大数据量) SXSSF jenkins和sonar的几个问题 Test class should have exactly one public constructor解决办法 ubuntu安装和查看已安装 rails mysql2问题 axis2依赖的其他jar, 版本不是最新的 mysql: 启动和停止服务 mysql: 安装后的目录结构 msyql: mysql rpm安装手记 - foward.molly.宝儿 velocity: velocty转义html xml等 testng: testng使用小结 IE, firefox竖向 横向滚动条处理 ruby: rdoc生成文档的好工具 spring: 一些基本配置--也许只有自己能够读懂 - foward.molly.宝儿 - 博客园 spring: web学习笔记1--异常处理:No adapter for handler - foward.molly.宝儿 maven: maven创建工程,web工程等-普通java app, web app maven: maven编译时指定maven库,即指定profile ssh免密码登录, 发送命令到多个Linux php: eclipse 编辑 php
ruby: 使用netbeans debug ruby
foward.molly.宝儿 · 2010-05-01 · via 博客园 - foward.molly.宝儿

使用netbeans debug ruby代码

Netbean Debug Ruby

在NetBeans中进行ruby代码的debug

1.       获取ruby-debug-ide的gems包

 ruby-debug-ide-0.4.6.gem

目前我仅测到0.4.6和0.4.5可以用,其他高版本总会有些问题

2.       安装该gem包

开始菜单-> 运行 -> cmd,进入命令行输入窗口

进入到你存放ruby-debug-ide-0.4.6.gem这个包的目录

然后键入 gem install ruby-debug-ide-0.4.6.gem, 回车

3.       然后进入Netbeans, 打开你要调试的文件

右键,选择调试文件(Ctrl + Shift + F5),然后可能会提示你安装调试器,截图我没了,因为被我给安装完了。。。。就选择快速调试器,这样就OK了,等它安装完,就可以了

4.       当然,在调试前,要先设置断点

like this

 

然后F7步入(进入需要进入的函数内部),F8步过(该步骤如果是函数不进入函数内部,如果是单条语句,则和F7效果一样)

或者通过上面的工具栏也可以看到这些步入,步过之类的