M
M
mresc2011-10-14 13:27:23
Java
mresc, 2011-10-14 13:27:23

Hide array from debugger in Java

Is this even possible? Or at least make it pretty?

Answer the question

In order to leave comments, you need to log in

7 answer(s)
A
Anatoly, 2011-10-14
@taliban

The debugger "sees" everything that your program "sees".
As far as I understand debuggers, they are used for development, that is, for yourself, do you want to hide the array from yourself or from a partner?

M
Maxim, 2011-10-14
Bogovick @maxBogovick

put a breakpoint in another place, for example, behind the array, of course, if I understand your problem correctly

@
@shadoof, 2011-10-14
_

Probably not from the debugger, but from the decompiler.
see Code obfuscation.

X
xrd, 2011-10-14
@xrd

Kmk, it is necessary to hide not an array, but data in an array, so that it is difficult to understand whether we are looking for something or not.

J
javax, 2011-10-14
@javax

If you could explain why you need it, then you would probably be helped ...

D
darkazazello, 2011-10-15
@darkazazello

Obfuscation option:
What if we expand the array into many fields in the class, while adding additional false fields. Work with multiple fields. This is where reflection can be applied.

D
diostm, 2011-10-19
@diostm

ProGuard to help you :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question