Hi,
Not sure where the problem lies, could you turn on detailed logging for
the debugger (
http://wiki.netbeans.org/FaqRubyNBLogging67) and send the
log to me? Also, you may want to experiment starting the debugger
backend by using the Debugger::start_server (with ruby-debug-ide 0.4.6
and later). A brief example:
require 'rubygems'
require 'ruby-debug-ide'
Debugger::start_server('127.0.0.1', 7000)
# to give you some time to attach the debugger
sleep(15)
puts "hello" #put a breakpoint here
Cheers,
Erno
latasoy wrote:
> I saw Martin Krauskopf's blog about attaching to debugger in NetBeans 7.0 (dev).
>
> I really need this and tried it on my NB. I am using NB 6.7.1 and updated to ruby-debug-ide-0.4.9
>
>
>
> It sort-of works but has issues. I wanted to understand if I need to upgrade to some other version (7.0 is still not out) where this works or do something else.
>
>
>
> If I run from the commandline
>
>
>> rdebug-ide -p 7000 --stop mycode.rb
>>
>
> and before or after running it, I invoke "Attach Debugger..." in NetBeans, things work fine, i.e code stops at the first line of code in NB.
>
>
>
> But, when I remove '--stop' and place a breakpoint in that first line or anywhere else, the execution bypasses the breakpoints.
>
>
>
> I can't get it to recognize any breakpoints even after using '--stop' and hitting continue from NB.
>
>
>
> Any help or tips is greatly appreciated.
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
users-unsubscribe@...
> For additional commands, e-mail:
users-help@...
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail:
users-unsubscribe@...
For additional commands, e-mail:
users-help@...