com.sun.jdi.Value

Hi,I need a way to make the value of a variable (get through StackFrame.getValue) serializable... Anyone knows how to do that?Thanks
[153 byte] By [giobva] at [2007-10-1 14:26:02]
# 1

Please help me... How do I get, serialize and set variables in JPDA? Here what I am doing...

List frames = thread.frames ( ) ;

...

StackFrame frame = ( StackFrame ) frames.get ( i ) ;

List locals = frame.visibleVariables() ;

...

LocalVariable var = ( LocalVariable ) locals.get( j ) ;

Value value = frame.getValue(var) ;

The problem is that "value" is not serializable... Anyone knows if there is any other way to get and serialize local variables?

Thanks.

giobva at 2007-7-10 18:00:03 > top of Java-index,Archived Forums,Debugging Tools and Techniques...