Custom .toSting behavior for (overloaded) Java methods in the shell (for easier development/debugging) #1554
Labels
Debugging JavaScript
Issues related to tools for debugging JavaScript with Rhino
Java Interop
Issues related to the interaction between Java and JavaScript
ref. #1537 (comment)
Debugging with JavaScript
toString
is subject to the constraints of the ECMA 262 specification. Therefore, it is difficult to debugJavaObject
/JavaClass
/JavaMethod
, etc. without violating the specification.With
console.log
, the implementation can decide on a useful format.https://console.spec.whatwg.org/#printer
This is a prototype. If it looks good to you, brush up and make a Pull Requst.
https://github.com/mozilla/rhino/compare/master...tuchida:debugging-java-using-console?expand=1
The text was updated successfully, but these errors were encountered: