Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing ByteCode for TraceNode.getByteCode() #238

Open
ykwongaq opened this issue Jul 1, 2022 · 0 comments
Open

Missing ByteCode for TraceNode.getByteCode() #238

ykwongaq opened this issue Jul 1, 2022 · 0 comments

Comments

@ykwongaq
Copy link
Collaborator

ykwongaq commented Jul 1, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant