Just trying to get my irb sessions to actually display the current line of code and the ones around it. Just like the debugging mode of Perl -d allows you to do ddo.
If you are looking for a Ruby debugger, you can try ruby-debug . It allows you to set a breakpoint, and then execute the code, showing the context around the current statement.
Because when you do this interactively, your "source file" is std-in.
Source: https://habr.com/ru/post/1724277/More articles:https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1724272/htaccess-https-to-http&usg=ALkJrhgDbq0QmXHmezMKA5y5o2HQeZkk3gNeed to send email from HTML pages - javascriptWhat is this exception: encryption buffering error in JsafeJCE JCE provider - javaWhy does my rdebug session say "*** No source file" - ruby | fooobar.comhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1724276/how-to-add-weights-to-a-mysql-table-and-select-random-values-according-to-these&usg=ALkJrhhB0JeeSBvaQVV2EFdoZ8ZqMec13ACan you animate gradients with quartz on the iPhone? - iphoneHow to add hyperlink to dynamic gridview column - c #R error allocMatrix - rAndroid: Сделать изображение непрозрачным/прозрачным - androidRuby Utility Idiom - idiomsAll Articles