Server:
- added handling of irregular loop-exits with the stack
- added a callback to the end of a function (unless last statement is a return) to catch function exits
- some bug fixes: function entry callback should be inserted after instumentation of function body, corrected if-statement handling
Server:
- completed handling of while- and do-while-loops (the latter are essentially identical to the former, just with the test and the body reversed, which doesn't matter for our purposes)
Server:
- added handling of switch-statements
Server:
- added handling of object expressions
Server:
- fixed handling of unnamed functions
- fixed bug in instrumentation of return statements
- added handling of function expressions, "new"-expressions, logical expressions, unary expressions and "this"-expressions
- fixed bug in handling of object expressions
- added location info to error-message in instrumentation
Server:
- added handling of for-in-loops
Server:
- added handling of try-catch-finally-, throw- and continue-statements, and conditional expressions (?:)
Server:
- fixed bug in construction of callback for return statements
- moved all callback-generating functions closer to where they are used or removed them completely where they are used only once