سؤال

is there a way to retrieve String/Text from JPDA JDI ObjectReference of java.io.InputStreamReader ?

هل كانت مفيدة؟

المحلول

In order to read from it, you would have to advance through it, which would change the behaviour of the program being instrumented/debugged. I suggest not reading from it directly, but rather logging its reads, either using JDI or by modifying the calling code directly.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top