orc-lang / orc

Orc programming language implementation
https://orc.csres.utexas.edu/
BSD 3-Clause "New" or "Revised" License
42 stars 3 forks source link

PorcE cannot provide good quality Orc level backtraces #216

Open arthurp opened 7 years ago

arthurp commented 7 years ago

The current PorcE code semantically correctly handles exception, however the print out does not include an Orc backtrace (only the Java stack trace, which is displayed in place of the Orc trace).

PorcE has much of the information needed for this. However, some of it will need to be extracted from the Truffle stack which is someone complex. An intermediate step could be just including only the call site from Orc. This would be much easier.

arthurp commented 6 years ago

This commit is partially addressed in 2dee4d608d16feb74c03aeaf87ef0f65aec9704a. However the traces are very bad due to optimization and lack of information from scheduled calls. Some more work will be needed to provide optional good quality stack traces.