Two questions: Is it possible, to programmatically print to the debugger? Is there a configuration file to store a list of commands to be executed by the debugger at session start? -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Hi Fritz Trapper I did not understand your question.Do you have doubt in running ruby debugger?If it is then in your application write require ''ruby-debug'' Then put the below where you want to activate debugger debugger Now start application as ./script/server --debugger You will be entered into debugger konsole. There are a number of commands ( example l for list,etc..) Type help for available ones Sijo -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Sijo k g wrote:> I did not understand your question.Sorry for my bad description. I''m still using the debugger and want to optimize my way to use it. 1. Rails has a logging facility, which offers methods to write messages to the log. I''m looking for a technique, that doesn''t write debug messages to the log, but to the debugger window. This would make debuggung more comfortable by avoiding to retype commands, that are required in many debug sessions at the same location in the code. 2. I found, that some set commands entered at the beginning of a debug session are very useful. Is there a possibility to automate entering these commands from a file? -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.