Commit Graph

41 Commits

Author SHA1 Message Date
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
Natalia.Ukhorskaya 60bdae9d75 Prohibit body for annotation class
#KT-1886 Fixed
2012-09-13 16:27:48 +04:00
Alexander Udalov 5b96d045f9 Fix debugger testdata after bd5b8d3 2012-08-31 19:37:29 +04:00
Alexander Udalov 69b403783b multifile debugger tests 2012-08-20 19:29:14 +04:00
Alexander Udalov dc2d21e0c9 test data for position manager 2012-08-17 18:38:47 +04:00