similar to: Breakpoint support

Displaying 20 results from an estimated 200000 matches similar to: "Breakpoint support"

2007 Mar 15
5
rake spec:views no transaction error
Hello, I have recently upgraded to the 0.8.2 release of rSpec, and I am receiving the following message with each view spec execution: WARNING: there is no transaction in progress I have upgraded the rspec_on_rails plugin as well, and both the model and controller tests are working flawlessly. Is there some simple step I missed? thanks for the input. -Chris -------------- next part
2007 Apr 11
10
DRYer controller specs
So, I''ve been following the recommendations for controller specs here: http://blog.davidchelimsky.net/articles/2006/11/09/tutorial-rspec-stubs-and-mocks Most notably: a single expectation per specify block; the setup block contains only stubs; mock expectations each get their own specify block. (I''m still using 0.8, so I haven''t gotten the describe/it goodness yet.) I
2007 Apr 30
7
Migrating spec_helper with modifications
Hello, After moving into the HEAD of rspec, I am greeted with a mountain of errors, which I expected, due to my specs not being migrated. I use hpricot for a lot of my view tests, as it is extremely simple to traverse the DOM with it. I used to include HpricotSpecHelper in spec_helper.rb, like so: require ''hpricot_spec_helper'' module Spec module Rails module Runner
2012 May 23
0
gam (mgcv) vs. multiple regression breakpoint analysis: inconsistencies?
Dear useRs, I have a question with respect to fitting a non-linearity using gam (mgcv package, version 1.7-16). In a study I'm currently conducting, I'd like to find out if there is a breakpoint after which the effect of Age of Acquisition (AOA) of the second language changes. I.e. if the slope of AOA before the breakpoint (at a certain AOA) is different from the slope past the
2006 Jan 09
5
Paypal IPN - unable to access breakpoint during POST?
Hi all, I''m trying to debug some code in my paypal instant payment notification action. Why can I not access the breakpoint placed inside the action that paypal POSTs to? It just doesn''t find the server, but it works fine when placed inside other actions. I''ve appended the code to the end of this post. Thanks everyone! Tom -- def paypal_ipn notify =
2010 May 20
1
About the breakpoint when making heatmap with lots of variables
HI,All I am trying to create a heatmap with 24 samples with 15672 varibles, I read in the table in R, and then made it as a matrix, then try to create the heatmap using heatmap(x,...) However, I received the error message as: > heatmap(t(x)) Error: cannot allocate vector of size 936.8 Mb R(2925,0xa0b16500) malloc: *** mmap(size=982261760) failed (error code=12) *** error: can't allocate
2006 Apr 14
0
Bug: Requiring "breakpoint" causes the entire Rails framework to load.
Hi I''m working with: 1. Ruby 1.8.4 (i386-mswin32) 2. RubyGems 0.8.11 3. Rails 1.1.2 (obtained through RubyGems) 4. ruby-breakpoint (0.5.0) (Note that all of these are latest stable versions of the software) Whenever I require ''breakpoint'', the entire Rails framework gets loaded as well. I tried "gem uninstall rails", and then require
2007 Apr 27
0
it "should ...", encouraging "should" via it_should
On 4/27/07, David Chelimsky <dchelimsky at gmail.com> wrote: > Any other suggestions? > > In general, I''m much more inclined to favor an additional parameter > passed to #it over a new method name. Since I suggested in the other thread that perhaps during_event and on_event could append text to the spec string, here''s another similar (but simpler) suggestion
2007 Jan 03
0
NoMethodError when using Breakpoint
When I put something like: breakpoint["here is the place"] in my code (say, in the controller), the breakpointer will run correctly. But after I exit out of the breakpointer, the browser gets a "NoMethodError" saying: You have a nil object when you didn''t expect it! You might have expected an instance of Array. The error occured while evaluating nil.[] This happens
2012 Aug 20
0
Re: gdbsx bug : fail on a breakpoint
Hmm... I don't know whats the real cause. Is it during boot of the HVM guest, or is the guest completely up and you are trying to set breakpoing? For immediate use, can you just rebuilt the kernel with module built in? I don't have a setup right now to debug/fix it, and am very busy with PVH and preparing for xen summit, so need some time to debug and fix it. thanks, mukesh PS: please
2006 Jan 05
1
Action fails silently - breakpoint doesn''t hit
I have a simple user registration controller with scaffold code. The only change I made to the view is to add a second password field for confirmation. I do have a db table called users with all the fields except ofcourse the extra password field. The field has a different name so it does not get into the user hash. The ''user.new'' action works fine and displays the form. The
2005 Aug 11
0
win32-process + ruby-breakpoint = strange behavior
I''m getting really strange behavior with win32/process. Here''s the code: ----- require ''win32/process'' require_gem ''ruby-breakpoint'' x = Process.create :app_name => "ruby bin/run_device.rb devices/terminal_server.rb" puts "done" puts "done" Process.kill 9, x puts "done" ------
2005 Aug 11
4
win32-process + ruby-breakpoint = strangebehavior
> -----Original Message----- > From: win32utils-devel-bounces@rubyforge.org > [mailto:win32utils-devel-bounces@rubyforge.org] On Behalf Of > Bill Atkins > Sent: Thursday, August 11, 2005 8:39 AM > To: win32utils-devel@rubyforge.org > Subject: [Win32utils-devel] win32-process + ruby-breakpoint = > strangebehavior > > > I''m getting really strange
2009 Jun 28
1
testing an ARFIMA model for structural breaks with unknown breakpoint
Dear R users, I'm trying to use the "strucchange" package to determine structural breaks in an ARFIMA model. Unfortunately I'm not so familiar with this topic (and worse, I'm a beginner in R), so I don't know exactly how to specify my model so that the "Fstats","sctest" and "breakpoint" functions to recognize it and to calculate the
2008 Jun 11
0
how to set breakpoint in xcode
I am trying to use xcode to debug my rails app. But I don''t see how I can set breakpoints. When I open the code file from Organizer, right clicking mouse, I can see the set breakpoints option. But it is grayed. I don''t see how I can change that. I hope someone can point me to a detailed tutorial or steps. Thanks. - victor --~--~---------~--~----~------------~-------~--~----~
2008 Jun 16
1
"stuck" in kmdb due to dtrace breakpoint()
So I realize this is somewhat stupid, and I''ve actually gotten myself out of kmdb to kill my dtrace script but this has happened in the past and I''m wondering if there''s any better way around it than hitting :c a bunch of times. Say you set a breakpoint() to fire in a common function. This will drop you into kmdb where you can do some debugging, you take a look around
2006 Jan 30
0
breakpoint on log error?
Is there a way to configure Rails so that it will breakpoint on a logger.error? Ideally, you''d enter the breakpoint where the error was generated. I suppose if it''s not there, with open classes, anything is possible. :-) -- -- Tom Mornini
2007 May 10
5
Shared behavior and_raise problem, and site aestetics
Hello, Is anyone else having trouble with the and_raise method on mocks, with respect to shared behaviors? If I do the following instead: foo.should_receive(:bar).and_return { raise } everything seems to work. I have been supplying no arguments to and_raise, by the way. Also, you may want to make the background in the code examples on the home page a little lighter. I am hardly able to
2012 Jun 27
1
Strucchange: Breakpoint slow
Hi to all, I am trying to run breakpoints() on a fairly large sample (>10.000 observations). The process is very slow, any idea on how to speed this up? I have tried the hpc="foreach" parameter, but this didn't work at all when I tried to run it on a smaller sample. breakpoints(x ~ x.l1 + x.l2 + X.l3 + x.l4 + x.l5 + x.l6 + x.l7 + x.l8 + y.l1 + y.l2 + y.l3 + y.l4 + y.l5 + y.l6
2007 May 06
2
NetBeans gets RSpec support
It looks like the lates NetBeans milestone can run RSpec specifications: http://wiki.netbeans.org/wiki/view/NewAndNoteWorthyMilestone9 I haven''t tried it myself, but if anyone else does please tell us about your experience. Aslak