Skip to content

Missing ByteCode for TraceNode.getByteCode() #238

@ykwongaq

Description

@ykwongaq

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).

issue_1

Here is the complete byte code:
issue_2

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions