Do the debugger thread, and source windows have use in Ruby and Rails apps?

View: New views
14 Messages — Rating Filter:   Alert me  

Do the debugger thread, and source windows have use in Ruby and Rails apps?

by Chris Kutler :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Do the debugger thread, and source windows have use in Ruby and Rails apps?

How are these used?

Chris

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: Do the debugger thread, and source windows have use in Ruby and Rails apps?

by Martin Krauskopf :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Chris Kutler wrote:
> Do the debugger thread

Thread windows is utilized/used.

>, and source windows

Sources no.

> have use in Ruby and Rails apps?
>
> How are these used?

Threads window for Thread management - listing and context switching
(not tested too much) in the meantime. In the future might be used for more.

        m.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: Do the debugger thread, and source windows have use in Ruby and Rails apps?

by Peter Williams-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Martin Krauskopf wrote:

> Chris Kutler wrote:
>> Do the debugger thread
>
> Thread windows is utilized/used.
>
>> , and source windows
>
> Sources no.
>
>> have use in Ruby and Rails apps?
>>
>> How are these used?
>
> Threads window for Thread management - listing and context switching
> (not tested too much) in the meantime. In the future might be used for
> more.
Is context switching supposed to work right now?  I noted on Saturday
that it doesn't seem to (for me at least).

-Peter
>
>     m.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@...
> For additional commands, e-mail: dev-help@...
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: Do the debugger thread, and source windows have use in Ruby and Rails apps?

by Martin Krauskopf :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Peter Williams wrote:

> Martin Krauskopf wrote:
>> Chris Kutler wrote:
>>> Do the debugger thread
>>
>> Thread windows is utilized/used.
>>
>>> , and source windows
>>
>> Sources no.
>>
>>> have use in Ruby and Rails apps?
>>>
>>> How are these used?
>>
>> Threads window for Thread management - listing and context switching
>> (not tested too much) in the meantime. In the future might be used for
>> more.
> Is context switching supposed to work right now?

Yes, it does, but.......

> I noted on Saturday that it doesn't seem to (for me at least).

it doesn't :) I've revived works on the debugger last week. So I will
look at this as well. Either disabling context switching feature from
the IDE or will fix it among layers. If you can file a bug it would be
welcomed. Thanks.

        m.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: Do the debugger thread, and source windows have use in Ruby and Rails apps?

by Anthony Richardson-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>> Is context switching supposed to work right now?
> it doesn't :) I've revived works on the debugger last week. So I will look
> at this as well. Either disabling context switching feature from the IDE or
> will fix it among layers. If you can file a bug it would be welcomed.

I have a feeling that you will need context-switching to work correctly
for the client-side JavaScript debugger to work correctly. Unless you
are referring to context-switching between multiple ruby debuggers
only.

Cheers,

Anthony Richardson

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: Do the debugger thread, and source windows have use in Ruby and Rails apps?

by Anthony Richardson-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, Sep 2, 2008 at 2:24 AM, Martin Krauskopf
<Martin.Krauskopf@...> wrote:
> Chris Kutler wrote:
>>
>> Do the debugger thread
>
> Thread windows is utilized/used.
>
>> , and source windows
>
> Sources no.

Chris, I have a feeling that the sources window is used in the
client-side JavaScript debugger if that makes any difference.

Cheers,

Anthony Richardson

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: Do the debugger thread, and source windows have use in Ruby and Rails apps?

by Martin Krauskopf :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Anthony Richardson wrote:
>>> Is context switching supposed to work right now?
>> it doesn't :) I've revived works on the debugger last week. So I will look
>> at this as well. Either disabling context switching feature from the IDE or
>> will fix it among layers. If you can file a bug it would be welcomed.
>
> I have a feeling that you will need context-switching to work correctly
> for the client-side JavaScript debugger to work correctly. Unless you
> are referring to context-switching between multiple ruby debuggers
> only.

Hi Anthony,

I mean context switching purely in Ruby (and/or Rails) debugger, meaning
switching during multiple Ruby threads in the one debugging session.

To be honest I did not used JavaScript debugger so far, it was
contributed by someone else and I'm just hoping it does not interfere
with Ruby debugger. If yes, please file a bug against
'debuggerjavascript' component.

Thanks,
        m.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: Do the debugger thread, and source windows have use in Ruby and Rails apps?

by Martin Krauskopf :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Anthony Richardson wrote:

> On Tue, Sep 2, 2008 at 2:24 AM, Martin Krauskopf
> <Martin.Krauskopf@...> wrote:
>> Chris Kutler wrote:
>>> Do the debugger thread
>> Thread windows is utilized/used.
>>
>>> , and source windows
>> Sources no.
>
> Chris, I have a feeling that the sources window is used in the
> client-side JavaScript debugger if that makes any difference.

Yup, again, I talked purely about Ruby (and/or Rails) debugger.

        m.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: Do the debugger thread, and source windows have use in Ruby and Rails apps?

by Chris Kutler :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Can someone explain what "context switching" is? I am a little lost and not sure, when and if it works, how to write about it.

Anthony Richardson wrote:
Is context switching supposed to work right now?
      
it doesn't :) I've revived works on the debugger last week. So I will look
at this as well. Either disabling context switching feature from the IDE or
will fix it among layers. If you can file a bug it would be welcomed.
    

I have a feeling that you will need context-switching to work correctly
for the client-side JavaScript debugger to work correctly. Unless you
are referring to context-switching between multiple ruby debuggers
only.

Cheers,

Anthony Richardson

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...

  

Re: Do the debugger thread, and source windows have use in Ruby and Rails apps?

by Chris Kutler :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Anthony,

Are you successfully using the JavaScript debugger with Rails apps? I
haven't had any success, but it might be because I use Firefox 3 by
default. I haven't had time to try with IE.

If you are, any hints, tips, or warnings on how to use it?

Martin Krauskopf wrote:

> Anthony Richardson wrote:
>>>> Is context switching supposed to work right now?
>>> it doesn't :) I've revived works on the debugger last week. So I
>>> will look
>>> at this as well. Either disabling context switching feature from the
>>> IDE or
>>> will fix it among layers. If you can file a bug it would be welcomed.
>>
>> I have a feeling that you will need context-switching to work correctly
>> for the client-side JavaScript debugger to work correctly. Unless you
>> are referring to context-switching between multiple ruby debuggers
>> only.
>
> Hi Anthony,
>
> I mean context switching purely in Ruby (and/or Rails) debugger,
> meaning switching during multiple Ruby threads in the one debugging
> session.
>
> To be honest I did not used JavaScript debugger so far, it was
> contributed by someone else and I'm just hoping it does not interfere
> with Ruby debugger. If yes, please file a bug against
> 'debuggerjavascript' component.
>
> Thanks,
>     m.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@...
> For additional commands, e-mail: dev-help@...
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: Do the debugger thread, and source windows have use in Ruby and Rails apps?

by Martin Krauskopf :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Chris Kutler wrote:
> Can someone explain what "context switching" is?

I should say thread (context) switching.

When you are debugging application with more then one thread and two
threads are suspended (e.g. breakpoint is hit inside of them). You might
switch between those threads - threads switching. Might be handy
sometime, when it works reliably, but.....

[...]
 > if it works [...]

...no, it does not, in the meantime as discussed elsewhere on MLs.

        m.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: Do the debugger thread, and source windows have use in Ruby and Rails apps?

by Chris Kutler :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks Anthony, good to know.

Anthony Richardson wrote:

> Chris, I have a feeling that the sources window is used in the
> client-side JavaScript debugger if that makes any difference.
>
> Cheers,
>
> Anthony Richardson
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@...
> For additional commands, e-mail: dev-help@...
>
>  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: Do the debugger thread, and source windows have use in Ruby and Rails apps?

by Anthony Richardson-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Sep 3, 2008 at 2:47 AM, Chris Kutler <Chris.Kutler@...> wrote:
> Anthony,
>
> Are you successfully using the JavaScript debugger with Rails apps? I
> haven't had any success, but it might be because I use Firefox 3 by default.
> I haven't had time to try with IE.
>
> If you are, any hints, tips, or warnings on how to use it?
>

I'm using the javascript debugger with current builds of Ruby on IDE
and FireFox 3 on Ubuntu 8.04.

The trick to getting it working is covered in this bug:

http://www.netbeans.org/issues/show_bug.cgi?id=140442

It is broken out of the box and needs to have some hacks applied to
your Rails app to work.

Cheers,

Anthony Richardson

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: Do the debugger thread, and source windows have use in Ruby and Rails apps?

by Martin Krauskopf :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Peter Williams wrote:

> Martin Krauskopf wrote:
>> Chris Kutler wrote:
>>> Do the debugger thread
>>
>> Thread windows is utilized/used.
>>
>>> , and source windows
>>
>> Sources no.
>>
>>> have use in Ruby and Rails apps?
>>>
>>> How are these used?
>>
>> Threads window for Thread management - listing and context switching
>> (not tested too much) in the meantime. In the future might be used for
>> more.
> Is context switching supposed to work right now?  I noted on Saturday
> that it doesn't seem to (for me at least).

I've checked the code and likely it never worked (for fast debugger).
I've filed:

http://www.netbeans.org/nonav/issues/show_bug.cgi?id=147601

So clicking on threads in Thread View is just no-op in the meantime.

        m.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...