search for: rdebug

Displaying 16 results from an estimated 16 matches for "rdebug".

Did you mean: debug
2007 Jun 12
8
rdebug spec ?
Can you run rdebug on specs? I get errors when I try: $ rdebug spec ./spec/models/select_option_spec.rb ./spec: Is a directory - ./spec (Errno::EISDIR) from /opt/local/lib/ruby/gems/1.8/gems/ruby-debug-0.9.3/bin/ rdebug:136:in `debug_load'' from /opt/local/lib/ruby/gems/1.8/gems/ruby-debu...
2008 Jan 31
4
reby-debug and rspec
How do I use the ruby debugger with a specific test (not the whole spec file)? I want to do something like this. $ rdebug spec/models/user_spec.rb -s "should error if not new_record" ____________________________________________________________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?...
2014 Oct 02
3
debuggingState() analogous to tracingState() ?
...t; >> function which is very much "parallel" to tracingState(). >> >> > It's hard to comment on this, because I don't know exactly what >> > behaviour is controlled by the debugging flag. >> >> Good point. The flag, accessed via RDEBUG(.), is used in quite a few places, >> and the intent and my experiments have replaced >> >> RDEBUG(.) >> by RDEBUG(.) && R_current_debug_state() >> >> in some places, but not in most places. >> >> > Will it cause an >&...
2010 Jun 20
0
Debugging a Rails 3 app with RadRails 2?
...I''ve tried adding/removing ruby-debug and ruby-debug-ide to the Gemfile in any order and at the top-level as well as in the :development group. I think, but are far from sure, that RadRails and Bundler are of devided minds as to which gems are active when. First, RadRails directly runs rdebug-ide, which runs script/rails which causes bundler to mangle which gems are active. In the file, where the error occurs, there''s a require ''ruby-debug/processor'' and that succeeds. But possibly it loads the wrong file, i.e. not the one from ruby-debug, but the one from...
2007 Oct 08
0
Can''t debug specs in Netbeans
...local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' ... 56 levels... from /usr/local/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.1.8/lib/ruby-debug.rb:79:in `main'' from /usr/local/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.1.8/bin/rdebug-ide:74 from /usr/local/bin/rdebug-ide:16:in `load'' from /usr/local/bin/rdebug-ide:16 Any ideas? -- View this message in context: http://www.nabble.com/Can%27t-debug-specs-in-Netbeans-tf4590324.html#a13103641 Sent from the rspec-users mailing list archive at Nabble.com.
2007 Sep 30
4
autotest stop working, 1.0.9?
My autotest runs but when I make changes to a spec it doesn''t reload. I checked another application I was building that had 1.0.9 but it was reloading fine. How would I debug a problem such as autotest not reloading? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/rspec-users/attachments/20070930/6be7160d/attachment.html
2007 Dec 29
2
needs to have method `_load'
...b:27:in `require'' ./script/server:3 /usr/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.1.9/lib/ruby-debug.rb: 79:in `debug_load'' /usr/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.1.9/lib/ruby-debug.rb: 79:in `main'' /usr/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.1.9/bin/rdebug-ide:74 /usr/bin/rdebug-ide:16:in `load'' /usr/bin/rdebug-ide:16 -e:4:in `load'' -e:4 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to thi...
2007 Mar 16
2
General segfaulting
I''m having issues with WxRuby segfaulting when it''s dealing with external data in one form or another. I can reliably force WxRuby to crash by a) Parsing a file with Hpricot into an internal array of objects and assigning that to an instance variable on a Wx::Frame b) Running my script in Eclipse in "debug" mode and merely mousing over the
2008 Jan 08
2
Problems with rspec 1.1 required inside rake tasks
.../rspec-1.1.1/lib/spec/ > runner/options.rb:83:in `run_examples'' > from /usr/local/lib/ruby/gems/1.8/gems/rspec-1.1.1/lib/ > spec.rb:20:in `run'' > from /usr/local/lib/ruby/gems/1.8/gems/rspec-1.1.1/lib/ > spec.rb:34 > from /usr/local/bin/rdebug:19 > Note that the spec runner is trying to load ''check_manifest'', the argument to rake... The reason is that rspec-1.1.1/lib/spec.rb''s at_exit hook is being invoked by, I presume, require ''spec'' Is there a better way to require rspec (this wor...
2007 Jul 12
1
WWW::Mechanize::Link.inspect needs some TLC
...;' page = agent.get("http://www.google.com/") search_form = page.forms.name("f").first search_form.fields.name("q").value = "bratislava tournament" search_results = agent.submit(search_form) puts search_results.body Given this ruby-debug session: bugs $ rdebug mechanize01.rb ./mechanize01.rb:1 require ''rubygems'' (rdb:1) b 11 Set breakpoint 1 at mechanize01.rb:11 (rdb:1) c Breakpoint 1 at mechanize01.rb:11 ./mechanize01.rb:11 puts search_results.body (rdb:1) p page.links[0].inspect.size 1521039 # That''s way too big, since the pa...
2007 Nov 15
2
Story adapter and SQLite Was:What command to run all stories?
Hi, by switching to MySQL from SQLite, it fixed the problem. I ran rdebug on it and it is trying to call I ActiveRecord::Base.connection.begin_db_transaction. from ActiveRecordSafetyListener.scenario_started. I don''t think SQLLite likes transactions. Ed On Nov 15, 2007 10:56 AM, Ed Howland <ed.howland at gmail.com> wrote: > If I run the story stand-al...
2008 Apr 27
4
Template variable "hostname" not working with certname= parameter?
I recently upgraded my Puppetmaster to 0.24.4 and it looks like my templates are not working properly. All of my clients use the same certificate, built by my original client "xx". I do this using the certname=blah parameter in the puppet.conf on each client. Up until I upgraded each client would use the "xx" certificate (which I had renamed to "blah") and
2006 Sep 29
0
Still living dangerously
5 seconds after my last post, I twigged why a call to FeedbackController.new would return an AccountController - the IntegrationTest must intercept the call and sure enough it does: action_controller/integration,rb: 315-339 and rdebug shows that this is indeed the cause. I still don''t see how the intercept is established - I can''t see where the call to extend ActionController::Base occurs *except* in IntegrationTest::process and if we''re calling that why doesn''t it also clear the cache (...
2011 Nov 09
0
beginner question: how do I figure out why an app won't start? (RubyMine)
.../RailsApps/rails3-mongoid-devise The problem is, after running through the tutorial and starting my app, nothing happens. Mongrel boots up fine: D:\Ruby193\bin\ruby.exe -e $stdout.sync=true; $stderr.sync=true;load($0=ARGV.shift) D:/Ruby193/lib/ruby/gems/1.9.1/ gems/ruby-debug-ide-0.4.17.beta8/bin/rdebug-ide --port 8051 -- D:/Dev/ rails3-mongoid-devise/script/rails server mongrel -b 127.0.0.1 -p 2999 -e development Fast Debugger (ruby-debug-ide 0.4.17.beta8, ruby-debug-base 0.11.30.pre3) listens on 127.0.0.1:8051 => Booting Mongrel => Rails 3.1.1 application starting in development on http://...
2013 Mar 24
5
Rails 4.0 has_many_through and fields_for
...home/john/.rvm/gems/ruby-2.0.0-p0@rails-4/bin/unicorn_rails:23:in `<top (required)>'' ruby-debug-ide (0.4.17.beta16) lib/ruby-debug-ide.rb:86:in `debug_load'' ruby-debug-ide (0.4.17.beta16) lib/ruby-debug-ide.rb:86:in `debug_program'' ruby-debug-ide (0.4.17.beta16) bin/rdebug-ide:109:in `<top (required)>'' -e:1:in `load'' -e:1:in `<main>'' Request *Parameters*: {"id"=>"1"} Toggle session dump <http://localhost:3100/controller_actions/1/edit#> Toggle env dump <http://localhost:3100/controller_act...
2007 Nov 13
16
mongrel startup fails now: already initialized constant OPTIONS
I updated to ruby 1.8.6p111 last night and updated some gems and now mongrel doesn''t work: MacOS 10.4.10 $ ruby --version ruby 1.8.6 (2007-09-24 patchlevel 111) [i686-darwin8.10.1] $ gem list rails *** LOCAL GEMS *** rails (1.2.5, 1.2.4, 1.2.3, 1.2.2, 1.2.1, 1.2.0, 1.1.6) Here''s a simple test: $ rails test5 create ... $ cd test5 $ script/server => Booting