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?
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?
Hi Fritz T.
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
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.
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.
Is there a possibility to automate entering these commands from a file?
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs