FWIW, Figured out the NetBeans bug: it's actually hitting my breakpoints in
my little test file (at lines 12, 19, and 20, in the current version), but
for some reason it keeps showing the mysql.rb file, which contains comments
at those lines.

On Fri, Sep 25, 2009 at 3:19 PM, David Jenkins <[email protected]>wrote:

> Hi, John
>
> Thanks for the suggestions.  Using :holiday does the same thing, i.e., I
> can't use it in an "if" test.  I also tried setting a variable, "some_var"
> to r[:weekendday], and sure enough it gets set to 0 or 1, and its class is
> Fixnum.
>
> Again, since this works with a select statement and not when I use a stored
> proc that returns a dataset, it seems to be a problem with the latter.  I'm
> am trying to debug the sequel code in NetBeans 6.7, but I'm getting weird
> results: it keeps stopping on comment lines, as if the file it's showing is
> not the file it's running (and the file its actually running has actual
> non-comment code on those lines) -- the file in question being mysql.rb.
>
>
>
> On Fri, Sep 25, 2009 at 3:10 PM, John W Higgins <[email protected]> wrote:
>
>>
>>
>> On Fri, Sep 25, 2009 at 11:49 AM, David Jenkins <[email protected]>wrote:
>>
>>> tried  p r[:weekendday].class, all Fixnum
>>> :(
>>>
>>
>> Try using :holiday instead - looks like the same semantics in terms of
>> data type but it might help figure out if it's a field issue or something
>> else.
>>
>> Also try setting another variable with the value and then testing that to
>> see if there is something else funky going on with the local representation.
>> I would say at this point you're down to documenting every stage and seeing
>> where this goes off track.
>>
>> Most times these types of things are nothing more then some weird anomaly
>> but if you poke and prod around the issue sometimes you get the right clue.
>>
>> Sorry I don't have a silver bullet - but sometimes the bullet companies
>> are on strike :)
>>
>> John
>>
>>
>> >>
>>
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sequel-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to