From: Nobuyoshi Nakada Date: 2007-10-01T13:32:24+09:00 Subject: Re: Will 1.8.6 remain compiled with VC6? Hi, At Mon, 1 Oct 2007 12:42:04 +0900, Charlie Savage wrote in [ruby-core:12320]: > Really? You're the first person I've heard of having success with this > on Windows. > > Just to be clear: > > 1. You can take an extension, say ruby-prof. Though I haven't debugged ruby-prof, I've used many other bundled extensions, stringio, iconv, socket, and so on. > 2. Compile with debug information > 3. Tell gdb the host executable is ruby.exe (stock version) > 4. Tell gdb to set a breakpoint in ruby-prof (the dll) gdb asks the breakpoint isn't found and if it will be loaded later. > 5. Run some ruby program that triggers the breakpoint > 5. And it works? Yes. No problem at all. -- Nobu Nakada