File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
src/org/rubyforge/debugcommons Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -546,7 +546,7 @@ public synchronized void jump(final int line) {
546546 }
547547 }
548548
549- public synchronized void thread_pause (final int id ) {
549+ public synchronized void threadPause (final int id ) {
550550 try {
551551 sendCommand ("pause " + id );
552552 }
@@ -556,6 +556,17 @@ public synchronized void thread_pause(final int id) {
556556 }
557557 }
558558 }
559+
560+ public synchronized void setType (final RubyVariable var , final String new_type ) {
561+ try {
562+ sendCommand ("set_type " + var .getName () + " " + new_type );
563+ }
564+ catch (final RubyDebuggerException ex ) {
565+ if (isReady ()) {
566+ LOGGER .log (Level .WARNING , "Cannot set_type" , ex );
567+ }
568+ }
569+ }
559570
560571 /**
561572 * Tries to attach to the <code>target</code>'s process and gives up in
You can’t perform that action at this time.
0 commit comments