Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tracecompass.incubator-dev] trace data that could be recognized and potential UML diagram?

Dear All,


I hope you all have a nice week so far. I am running into some problems when using the software, and I am seeking some technical support.


I am working on a research project using Eclipse Trace Compass to visualize smart contract transaction data. The software could only recognize specific transaction data and show some visualization graphs on the panels. However, once the attributes in the JSON file changed, the visualization did not show up again. 


In my case, I have uploaded some transaction data to my GitHub repository https://github.com/AisXiaolin/org.eclipse.tracecompass/tree/AisXiaolin-patch-1

under the folder org.eclipse.tracecompassSmartContractTransactionJSON, only test.json and  test2.json can be imported directly as Json file but the other two cannot. I have test on some other smart contract transaction files in JSON format as well, and I could not see the pattern on what Eclipse Trace Compass is looking for as required attributes. When the file cannot be shown as a Trace-Event trace, the error will shown as below in the screenshot. 


the error shown is quite generic and there are not a lot of other information I could see. So I have checked the source code and try to insert some print statement to see where the flag has been changed from ok to not. But the print statement is not showing up anywhere in the console nor in the terminal.



I am not sure if there will be some other ways for me to understand the attributes in the json format that the software is expecting without any error messages. For example, in the data file I have uploaded,


I am not sure what I should change the name for the "gas" and "gasCost" to, in order to have the information shown in on the trace compass. 


For me to better understand the architecture of the software, is it possible for me to find an UML diagram of the java software itself?


Looking to hear from you soon.

Best, 

Xiaolin


Back to the top