Commit Graph

65 Commits

Author SHA1 Message Date
Natalia Ukhorskaya a9f9049223 Evaluate expression: fix exception for breakpoints on object header (for accessor methods) 2014-11-13 09:47:11 +03:00
Natalia Ukhorskaya dab9411c5d Mark line numbers for bridges in closures 2014-11-13 09:47:10 +03:00
Natalia Ukhorskaya 0a97481184 Mark lineNumbers for synthetic accessors 2014-11-13 09:47:10 +03:00
Natalia Ukhorskaya 42257218b6 Fix tests after adding lineNumber for functions without return expression 2014-11-07 17:18:02 +03:00
Natalia Ukhorskaya d4b0977381 Debugger: stop at closing bracket for functions without return statement 2014-11-07 15:10:41 +03:00
Natalia Ukhorskaya 55590e00a5 Evaluate expression: add ability to evaluate expression suspending on class header 2014-11-06 16:21:54 +03:00
Natalia Ukhorskaya 4eb93c06b1 Write line numbers for bridge methods (line for class header) 2014-11-06 16:21:52 +03:00
Natalia Ukhorskaya 0047655ed3 Debugger: fix stepping in when 2014-11-06 14:27:06 +03:00
Michael Bogdanov 221784b0f3 Mark linenumber on statement end 2014-11-06 11:48:50 +03:00
Natalia Ukhorskaya d9ac8155da Debugger: wrong stepping through the loop with continue label
#KT-5776 Fixed
 #KT-5664 Fixed
2014-10-24 15:59:39 +04:00
Natalia Ukhorskaya ffba1b6fa0 Debugger tests: render line properly 2014-10-24 15:59:38 +04:00
Natalia Ukhorskaya 3900ee34ae Debugger tests: move stepping tests 2014-10-24 15:59:37 +04:00
Natalia Ukhorskaya cce22c0df9 Debugger: implement getSourcePosition for fields 2014-10-24 15:59:36 +04:00
Pavel V. Talanov 8d9f17d09d Reconfigure KotlinDebuggerTestCase
It is hiding a problem: evaluate expression fails in libraries
2014-10-22 18:56:28 +04:00
Natalia Ukhorskaya be73ec2cc9 KotlinEvaluateExpressionTestGenerated:testSimple: add comment 2014-10-17 11:46:25 +04:00
Natalia Ukhorskaya fff8bfff5f Debugger: do not throw exception on getting source position for Kotlin object 2014-10-15 14:09:55 +04:00
Andrey Breslav 0cbbb6a0db Test data fixed 2014-10-13 15:37:47 +04:00
Pavel V. Talanov e7cd4bf6cf Implement modificationTracker for CompositeDiagnostics
#KT-5981 Fixed
2014-10-10 16:46:05 +04:00
Natalia Ukhorskaya 1055aa86aa Debugger tests: do not check breakpoint line and file extension for JDK classes 2014-10-09 19:17:23 +04:00
Natalia Ukhorskaya f9f4aefb2a Evaluate expression: check for errors before running extract function for code fragment 2014-10-09 13:48:39 +04:00
Natalia Ukhorskaya 6179b4889b Debugger: fix className for properties in class objects 2014-09-30 15:00:29 +04:00
Natalia Ukhorskaya 4994e771d0 Evaluate expression: support EE for shared vars 2014-09-30 15:00:28 +04:00
Natalia Ukhorskaya 8ad18df3fa Evaluate expression: switch off breakpoints during eval4j run 2014-09-30 15:00:27 +04:00
Alexander Udalov c30aa7db84 Include package part name to top level closure names
#KT-4234 Fixed
 #KT-4496 Fixed
2014-09-26 10:22:25 +04:00
Alexander Udalov c57441b51b Use '$' instead of '-' in package part class names
Otherwise some tools break (e.g. CheckMethodAdapter in ASM, used in generic
signature writer) because they expect class names to be Java identifiers.

Some tests fixed, some will be fixed in future commits
2014-09-26 10:22:20 +04:00
Natalia Ukhorskaya 2b388ed308 Evaluate Expression: fix function call from base class on object with subtype 2014-09-23 10:33:06 +04:00
Natalia Ukhorskaya 3dcfae4a81 Debugger: delegated property should be visible in debugger
#KT-4699 In Progress
 #KT-3582 Fixed
2014-09-17 13:59:53 +04:00
Natalia Ukhorskaya ecaf87f51c Minor, tests: rename test directive in debugger tests 2014-09-12 17:26:33 +04:00
Natalia Ukhorskaya e16673f50a Debugger tests: do not print line numbers in stdlib 2014-09-12 17:26:32 +04:00
Natalia Ukhorskaya 32f6d7feac Add test for KT-5554: coerce arrays in return
#KT-5554 Fixed
2014-09-11 15:04:46 +04:00
Natalia Ukhorskaya 50dcef254d Debugger: get correct context for breakpoints inside lambdas 2014-09-11 15:04:41 +04:00
Alexey Sedunov 76433571f8 Extract Function: Support multiple output values 2014-09-10 16:44:46 +04:00
Natalia Ukhorskaya e7a72b70a6 Add some more test on filters for debugger 2014-08-29 15:17:13 +04:00
Natalia Ukhorskaya 5c0c22d087 Stepping: do not step into kotlin standard library
#KT-2076 Fixed
2014-08-29 15:17:13 +04:00
Natalia Ukhorskaya 741f55d89c Debugger: Add filter for Kotlin specific classes
#KT-2076 Fixed
2014-08-29 15:17:12 +04:00
Natalia Ukhorskaya f26ea299dc Debugger: add tests (filter classloaders and constructors) 2014-08-29 15:17:11 +04:00
Natalia Ukhorskaya e7ebf6fda2 Minor: change debugger tests structure 2014-08-27 15:57:59 +04:00
Natalia Ukhorskaya 453592edf4 Debugger: breakpoints in library source files 2014-08-27 15:57:58 +04:00
Natalia Ukhorskaya 40c4022c98 Debugger tests: add custom library 2014-08-27 15:57:57 +04:00
Natalia Ukhorskaya de7b6cb3a1 Evaluate expression: support EE on method with expression body, on properties
#KT-5485 Fixed
2014-08-07 15:43:47 +04:00
Natalia Ukhorskaya 3a7f66b7eb Evaluate expression: fix exception when default package is used
#KT-5555 Fixed
2014-08-07 15:43:46 +04:00
Natalia Ukhorskaya 73e0ae1d1c Evaluate expression: support captured vals 2014-07-16 15:17:44 +04:00
Natalia Ukhorskaya 6440884a40 Add tests for tracing frame 2014-07-16 15:17:44 +04:00
Denis Zharkov 433c9cd4a5 Fixed test in evaluateExpression (redundant boxing was removed) 2014-07-15 21:26:54 +04:00
Alexey Sedunov 1618d7448d Extract Function: Improve rendering of error messages 2014-07-11 19:13:41 +04:00
Alexander Udalov 59777e7df6 Generate "$kotlinClass"/"$kotlinPackage" reflection fields to every class
Some seemingly irrelevant tests were changed because now there's <clinit> in
almost every class and class initialization begins with executing it
2014-07-02 01:26:18 +04:00
Natalia Ukhorskaya a17bcce682 Add tests for exceptions from evaluate expression 2014-06-23 17:39:53 +04:00
Natalia Ukhorskaya 28cbe95e0c Generate invokeSpecial for all private functions 2014-06-23 17:17:42 +04:00
Natalia Ukhorskaya 3edd6b52cf Evaluate expression: test cache using logger 2014-06-23 17:17:40 +04:00
Natalia Ukhorskaya b5f6df3144 Cache bytecodes for JetCodeFragment in Evaluate Expression 2014-06-23 17:17:39 +04:00