Hi Bill,
I know there are similar problems with the debugger when the project dir
uses extended attributes (on OS X) or when it is located on a Win
partition and the IDE is running under Linux. Maybe somehow twiddling
with the file attributes could help, but I don't know what exactly you
should do. Is there anyone here who can debug an app running under Cygwin?
Erno
bkocik wrote:
> I've been forced to deal with developing Rails apps on Windows for a while now, and since I have to run them in Cygwin I've been unable to debug them with NetBeans (which runs outside of Cygwin). I'm trying to use the new remote debugging stuff in NB6.7RC2 to remedy this, and I'm having some trouble getting started.
>
>
>
> In Cygwin, I do this:
>
>
>
> [15:02][wkocik]>$ rdebug-ide -p 7000 -- script/server webrick
>
> Fast Debugger (ruby-debug-ide 0.4.6) listens on localhost:7000
>
> => Booting WEBrick
>
> => Rails 2.3.2 application starting on
http://0.0.0.0:3000>
> => Call with -d to detach
>
> => Ctrl-C to shutdown server
>
> [2009-06-14 15:05:11] INFO WEBrick 1.3.1
>
> [2009-06-14 15:05:11] INFO ruby 1.8.7 (2008-08-11) [i386-cygwin]
>
> [2009-06-14 15:05:11] INFO WEBrick::HTTPServer#start: pid=18428 port=3000
>
>
>
> I attach the NetBeans remote debugger to localhost on port 7000, specifying ruby-debug-ide as the type. Then I set a breakpoint in my main controller's index method (within NB), and hit localhost:3000 with my web browser. The request completes - the breakpoint is ignored.
>
>
>
> Am I doing something wrong here? I'm not sure how to troubleshoot this. No breakpoints I set are being obeyed, the app just flies right by them.
>
>
>
> I'm certain the server and NetBeans are using the same codebase, because I start the server inside the same directory NB is looking at for the project. Also, when I hit the "End debugging session" button in NB, the process I started on the command line exits, so I'm sure NB is talking to the debugger.
>
>
>
> Any ideas?
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
users-unsubscribe@...
> For additional commands, e-mail:
users-help@...
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail:
users-unsubscribe@...
For additional commands, e-mail:
users-help@...