From: Matt Mower Date: 2005-02-25T19:27:06+09:00 Subject: Re: Visual C++ Run-time error with rubyw.exe Hi NIck, Thanks for your reply. On Fri, 25 Feb 2005 12:49:27 +0900, Nick wrote: > Well, since FreeRIDE is a FXRuby app, I would say yes. > Now this is interesting. Using: "C:\Program Files\FreeRIDE\freeruby-win\bin\rubyw.exe" -rubygems freeride.rb I can open FreeRIDE and use it fine, no crash. However when I shut the application down it hangs (but without an error dialog) and I have to kill the process. Puzzlingly I couldn't seem to get "fxri" to start under the FreeRIDE installed version of Rubyw, nor could I get freeride.rb to start using the one-click rubyw. In neither case did a window open. I note also that both the one-click installed version of Ruby and the FreeRIDE 0.9.3 installed versions of ruby.exe and rubyw.exe are exactly the same according to a binary file compare. > Sadly, the only way I know how to debug something like this is to run > ruby under the visual studio debugger (with the debug symbols for fxruby > loaded in) and try to replicate the crash. Sorry. > Do you have a set of steps I could follow to do this myself? I have Visual Studio 2003 but I'm not sure how to go about running ruby under the VS debugger or importing 3rd party debug symbols. I'm sure I'd be in a better position if I at least understood where this was crashing. Many thanks, Matt -- Matt Mower :: http://matt.blogs.it/