SunStudio11 Copy/Paste in Debugger Console?

Hi

I fail to see debugger command line editing in the Debugger Console (Output Window); for example, Copy/Paste works only between other windows but within the Debugger Console itself. Besides, arrow keys to recall command history and to edit a command in place do not seem working.

So it seems that repetitive typing and backspacing even is the only choice. I hope I'm wrong. Please let me know how to do the "With-in-Debug-Console Copy/Paste" or "Debug-Command-History-Editing" if such things exit.

Thanks,

TJ

[544 byte] By [karoyakani] at [2007-11-26 9:07:40]
# 1

I don't remember of any problems with copy/pasting, but as for keys to recall command history, they are not supposed to work, unfortunately. They can be [i]made[/i] to work with this kind of black magic (add it to your ~/.dbxrc):

[code]bind ^[[=prefix-1

bind ^[[A=up-history

bind ^[[B=down-history

bind ^[[D=backward-char

bind ^[[C=forward-char

[/code]

MaximKartashev at 2007-7-6 23:22:51 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 2

This "black magic" does not seem to work in the dbx Console of the IDE. The cursor keys are apparently ignored there. It does only work outside of the IDE in a terminal window, when working with a command line dbx.

It is however possible to use the emacs key bindings for history recall (i.e. ^P, ^N, ^B, ^F) in the dbx console of the IDE. But this is much less convenient, of course. This is a strange shortcoming, IMHO.

DieterRuppert at 2007-7-6 23:22:51 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 3
There is a bug in Java, 6173972, that may be affecting this.It's fixed in Java5.0u3, so java version SS is running underand see if an upgrade will help.
IvanIgorovich at 2007-7-6 23:22:51 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 4
FWIW, I just tried with jre1.5.0_07, and this still does not work (I assume this is more recent than "5.0u3"). 6173972 seems to be related to NumLock, and the cursor keys don't work, regardless of NumLock state.
DieterRuppert at 2007-7-6 23:22:51 > top of Java-index,Development Tools,Solaris and Linux Development Tools...