debugging - How do I print an array in Java's jdb debugger? -


How do I print values ​​of byte array at a time? I am reminded that I can specify memory range in GDB. Is similar functionality available in jdb?

I have a Java byte array:

  byte [] decompressed = new byte [OUTPUT_FILE_IO_BUFFER_SIZE];  

Which I populate with a string:

  System ArrayCopy (deccpricated stringing.getbites), 0, Decompressed, 0, Decompressed string. Lamps ());  

In jdb, I want to print the contents of the byte array I tried

  main [1] uncompressed print  

which gives:

  example of decompressed = byte [7] (id = 342)  

A solution:

  dump uncompressed  

This byte values ​​are covered! :)


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -