microbat
microbat copied to clipboard
Missing ByteCode for TraceNode.getByteCode()
Missing ByteCode
One line of java code may require more than one byteCode to execute.
For example, trace node 10 correspond to the java code:
int c = a+b;
The correspondence byteCode are:
iload_2
iload_3
iadd
istore_4
which have four byteCode.
However, the current getByteCode method only return the first byteCode iload_2
. Is it possible to concatenate those byteCode by comma, such that the getByteCode()
method will return iload_2,iload_3,iadd,istore_4
?
Also, it seems that trace node 5 return empty string with unknown reason (please refer to the following picture).
Here is the complete byte code:
Thank you.