From: Rodrigo Rosenfeld Rosas Date: 2013-03-14T03:22:42+09:00 Subject: [ruby-core:53381] Re: Any documentation about debugging in Ruby 2.0.0 Thank you very much, Koichi, but I couldn't get it to work yet: https://github.com/ko1/debugger2/issues/1 Any hints are appreciated :) Thanks, Rodrigo. Em 13-03-2013 07:50, SASADA Koichi escreveu: > I rewrite a debugger for Ruby 2.0. > > > Several features are lacked. > But I want to collect feedback. > > Thanks, > Koichi > > > (2013/02/27 5:55), Rodrigo Rosenfeld Rosas wrote: >> Em 26-02-2013 17:23, SASADA Koichi escreveu: >>> (2013/02/27 4:19), Rodrigo Rosenfeld Rosas wrote: >>>> Unfortunately I'm too stupid to understand how I use this to debug my >>>> applications... How do I set a breakpoint for instance? >>> I'm so sorry I completely misunderstood your question. >>> (how to make a debugger on 2.0.0, i misunderstood) >>> >>> >>> [ruby-core:52885] check out Charlie's comment (RubyMine). >> I did. I do have a valid (recent) license both for RubyMine and IntelliJ >> IDEA, but I just can't remember the last time I used any of those. I'm >> too used to Vim to switch :P But at least I know that I can sort to >> RubyMine if I have to debug some application. I don't currently have to >> debug anything but as I was upgrading my project I was trying to >> understand if there was any gem that would replace 'debugger' in my >> Gemfile... Sorry for not being clearer about this before. >> >>> And debug.rb (in lib) will help. >> I tried that a few days ago but I couldn't find any documentations about >> it at that time. Now I think I could find it: >> >> http://www.ruby-doc.org/stdlib-2.0/libdoc/debug/rdoc/DEBUGGER__.html >> >> So my mistake is that I just required 'debug' in the beginning of the >> file and couldn't find out how to list the source or add a breakpoint. >> But now that I saw the documentation above it seems I have to "require >> 'debug'" where I want the breakpoint to be, right? :) Okay, better than >> nothing :) >> >>> We introduced some debugger APIs (to make debugger) and I'm not sure >>> they are used (except RubyMine). I'll try to make one. Sorry for >>> inconvenience. >> No worries. I really appreciate your efforts on that :) Thank you very much! >> >> Cheers, >> Rodrigo. >