Breakpoint and scite

(Bret Pettichord) #1

I often teach ruby to people and usually use scite to do this. It's quick and easy and F5 is very convenient. I also use scite when i am working on lab machines. (Otherwise I use eclipse when i can.)

When i use breakpoint with a script that i am running from scite using F5, the irb session shows up in the scite sidebar. I can type at this prompt, and it works, but backspaces and paste don't register. So i have to be a really good typist. (Don't register means that the text looks right, but then i get an error from IRB that shows that it didn't get the pasted text and did get the text i thought had backspaced away.)

I realize i can get this to work running from a command shell.

But is there a way i can get breakpoint to work in scite?

(BTW, if i run IRB from within SCITE, i get the same problem plus whatever i typed is echo'd. So '1+1' displays as '11++11', although i still get a return value of 2. This is a problem that i care less about.)

Bret

···

_____________________
  Bret Pettichord
  www.pettichord.com

(daz) #2

Doesn't look good, Bret :frowning:

Neil Hodgson (SciTE) adds comments in this thread regarding IRB :
http://www.ruby-talk.org/cgi-bin/vframe.rb/ruby/ruby-talk/143375?143303-145150+split-mode-vertical

daz

(Florian Gross) #3

Bret Pettichord wrote:

I often teach ruby to people and usually use scite to do this. It's quick and easy and F5 is very convenient. I also use scite when i am working on lab machines. (Otherwise I use eclipse when i can.)

When i use breakpoint with a script that i am running from scite using F5, the irb session shows up in the scite sidebar. I can type at this prompt, and it works, but backspaces and paste don't register. So i have to be a really good typist. (Don't register means that the text looks right, but then i get an error from IRB that shows that it didn't get the pasted text and did get the text i thought had backspaced away.)

This is no fix, but could solve your trouble anyway: I'm working a GUI front end for ruby-breakpoint which will probably be launchable by doing breakpoint() in the future.

Here's an early screenshot:

* http://flgr.dyndns.org/highlights-all-the-way.png

Thoughts?

(Dave Burt) #4

Florian Groß wrote:

front end for ruby-breakpoint which will probably be launchable by doing
breakpoint() in the future.

Here's an early screenshot:

* http://flgr.dyndns.org/highlights-all-the-way.png

Thoughts?

Looks great!

(gabriele renzi) #5

Florian Groß ha scritto:

Here's an early screenshot:

* http://flgr.dyndns.org/highlights-all-the-way.png

Thoughts?

you may become my personal hero with that :slight_smile:

(Martin DeMello) #6

Looking good!!

martin

···

Florian Groß <florgro@gmail.com> wrote:

This is no fix, but could solve your trouble anyway: I'm working a GUI
front end for ruby-breakpoint which will probably be launchable by doing
breakpoint() in the future.

Here's an early screenshot:

* http://flgr.dyndns.org/highlights-all-the-way.png