netbeans 6.9.1 + rails 3 + ruby 1.9.2p0 debugging

后端 未结 2 1727
梦谈多话
梦谈多话 2020-12-30 12:40

I\'m running OpenSuSE 11.3 and am having problems debugging rails3 application in NetBeans 6.9.1 (ruby 1.9.2p0, rails 3.0.3, rvm).

  1. I have installed ruby-debug1
2条回答
  •  萌比男神i
    2020-12-30 12:59

    Look at this thread at the netbeans's forums. It worked for me:

    http://forums.netbeans.org/post-93244.html

    The post:

    The problem is the missing path . in $:, so the scripts aren't found.
    I inserted
    $: << "."
    before the load command in rdebug-ide (/usr/bin/rdebug-ide).
    It fixed the problem.
    (NetBeans 6.9.1, ruby 1.9.2p0 (2010-08-18) [x86_64-linux])
    _________________
    tiesel
    

    its the answer

提交回复
热议问题