开发者

Ruby on Rails: Xcode: Instruments: Trace/BPT trap? What is it, and how do I fix it?

开发者_JAVA百科

So, I wanted to test my RoR app for memory leaks, and I was all like "Hey, Xcode has a tool for that"..

So... I run the RoR server

Then The moment I tell instruments to attach to the process, it dies, and tells me Trace/BPT trap

What is Trace/BPT trap

And how do I test my app for memory leaks?


I've never heard of testing a Rails app with XCode before. Neat idea.

Debugging memory leaks is a pretty broad topic, but here's a link to the RailsGuides suggestions: http://guides.rails.info/debugging_rails_applications.html#debugging-memory-leaks

Also check out New Relic: http://www.newrelic.com/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜