Commit Graph

54 Commits

Author SHA1 Message Date
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 6b28ccbc9b JetPositionManager: add tests 2014-08-27 15:57:59 +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 6fa4d8fc83 Evaluate expression: Don't evaluate something when it is not an expression
#KT-5561 Fixed
2014-08-07 15:43:45 +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
Natalia Ukhorskaya 906a3ea905 Evaluate expression: test with doubles 2014-06-23 17:17:35 +04:00
Alexander Udalov d78d4bc44c Disallow extension properties with backing fields
#KT-1682 Fixed
2014-05-29 21:24:05 +04:00
Natalia Ukhorskaya 0c2120b578 Evaluate expression: add debug expression inside block for function literals
EA-56887 Fixed
2014-05-27 13:42:55 +04:00
Natalia Ukhorskaya ec6809ccae Evaluate expression: pass this as first parameter 2014-05-27 13:42:54 +04:00
Natalia Ukhorskaya d263621ef5 Evaluate expression: refactor error messages 2014-05-20 16:12:53 +04:00
Natalia Ukhorskaya 8c0f99001b Evaluate expression: check for syntactic errors 2014-05-15 13:54:27 +04:00
Natalia Ukhorskaya 511d270032 Evaluate expression: evaluate block of code (CODE_BLOCK mode) 2014-05-15 13:54:25 +04:00
Natalia Ukhorskaya a0549f0ff5 Evaluate expression: allow to call invisible members
#KT-4935 Fixed
2014-05-15 13:54:22 +04:00
Natalia Ukhorskaya 98532f321d Evaluate expression: add ability to import class 2014-05-05 16:12:38 +04:00
Natalia Ukhorskaya 68c77e6384 SmartStepInto from kotlin to java functions 2014-04-28 14:24:01 +04:00
Natalia Ukhorskaya 2ffcc5124e Debugger: use extract method to get function arguments 2014-04-23 18:09:59 +04:00
Natalia Ukhorskaya fa482bca80 Use lazy analysis for debug file 2014-04-23 18:09:57 +04:00
Natalia Ukhorskaya 45d78dae5a Debugger: implement findExpression method correctly to make work Alt+Click in debugger 2014-04-23 18:09:56 +04:00
Natalia Ukhorskaya bd737a32fb Debugger: add imports from file on breakpoint 2014-04-23 18:09:55 +04:00
Natalia Ukhorskaya 133aea9c4b Debugger: add test for evaluate expression 2014-04-23 18:09:47 +04:00
Natalia Ukhorskaya 32a6205d81 SmartStepInto in top level functions. Add test for debugger
#KT-4737 Fixed
2014-04-01 10:41:34 +04:00
Natalia Ukhorskaya e8d2ba197e Debugger: implement Smart Step Into
#KT-4639 Fixed
2014-03-21 16:08:01 +04:00
Evgeny Gerashchenko 958f7c862d Got rid of "namespace" word in test data. 2014-01-14 18:06:50 +04:00
Alexander Udalov 8a5336aca2 Don't use $ in package fragment class names
Package fragment classes now are named "*Package-<filename>-<hash>" instead of
"*Package$src$<filename>$<hash>". This will help to avoid erroneous code in
intellij FileManager, which assumes that classes with dollars are always inner
classes of some other class (see AnnotationDescriptorDeserializer)
2013-10-02 17:03:24 +04:00
Natalia.Ukhorskaya d9739fb5bb Remove usages of isMultiFileNamespace 2013-03-06 16:22:37 +04:00
Natalia.Ukhorskaya 47abdcf565 Rename namespace class to {package.name}Package
Conflicts:

	compiler/jet.as.java.psi/src/org/jetbrains/jet/asJava/JavaElementFinder.java
2013-01-15 19:45:06 +04:00
Evgeny Gerashchenko c84cd7f961 Renamed ClassObject$ to object in JVM backend. 2012-10-30 18:41:00 +04:00
Alexander Udalov 6e2e724b99 Implement JetPositionManager.getSourcePosition() properly
JetPositionManager now finds a PsiFile to create a SourcePosition correctly.
This fixes problems with breakpoints and navigation between frames when there's
more than one file with the given name (not necessarily in the same package)
2012-10-25 21:41:26 +04:00
Alexander Udalov 1469c1fe5e Fix numbering in debugger tests
Line number in SourcePosition is actually 0-based
2012-10-25 21:33:30 +04:00