Commit Graph

168 Commits

Author SHA1 Message Date
Natalia Ukhorskaya eac6fdbaa0 Fix linenumbers in tests 2015-10-28 14:23:51 +03:00
Natalia Ukhorskaya e534636f03 Support multiple breakpoints at one line (especially for lambdas) 2015-10-28 14:23:49 +03:00
Natalia Ukhorskaya c071bf5c63 Fix lines for FieldBreakpoints in tests 2015-10-28 14:23:48 +03:00
Natalia Ukhorskaya 17a564495d Stepping for inline function: filter out inline function body lines from step over
#KT-9665 Fixed
2015-10-28 14:23:47 +03:00
Natalia Ukhorskaya 66a5351cd0 Do not show fake local variables for inline function/argument in Variables View for Debugger 2015-10-28 14:23:45 +03:00
Natalia Ukhorskaya cdcafb8199 Fix stepping for inline function inside while statement 2015-10-28 14:23:45 +03:00
Natalia Ukhorskaya dd30462fd1 Support smart step into for inline function arguments 2015-10-28 14:23:42 +03:00
Natalia Ukhorskaya 77f1a3a7f3 Minor: change test directives 2015-10-28 14:23:40 +03:00
Michael Bogdanov 18f3eb87e4 INSTANCE field deprecated in companion object
Fix for KT-9692: Deadlock between <clinit> of a class (KtSimpleNameExpressionImpl) and <clinit> of its companion object

 #KT-9692 Fixed
2015-10-23 17:39:27 +03:00
Natalia Ukhorskaya f9399f0510 Skip MultiFileFacade classes as synthethic 2015-10-19 18:57:41 +03:00
Dmitry Petrov 6b2b64e438 Drop package facades: fix evaluation tests 2015-10-19 16:03:19 +03:00
Natalia Ukhorskaya 9168572b8c Write local variable for inline function and inline argument 2015-10-17 17:02:55 +03:00
Alexander Udalov 6a965c9a06 Update IDE tests to use KProperty instead of PropertyMetadata 2015-10-14 20:45:55 +03:00
Denis Zharkov f0e3fd617d Adjust testData to CharSequence.length transformation 2015-10-14 20:39:35 +03:00
Alexander Udalov a4732b442d Don't create KClass and KPackage instances in <clinit>
This proved to be a fragile technique, which probably doesn't even improve
performance in most cases but has lots of unexpected problems: unconditional
initialization of reflection classes, increasing the size of the bytecode, bugs
with <clinit> in annotations on JVM 6, inability to support conversion of a
class from Kotlin to Java without recompiling clients which use it
reflectively, etc.
2015-10-11 17:10:35 +03:00
Yan Zhulanow 1f2b4e20fe Replace get() and set() to getValue() and setValue() (property delegates) 2015-10-09 22:49:16 +03:00
Mikhail Glukhikh 6914d09297 Old backing field with dollar is now forbidden 2015-10-09 21:06:26 +03:00
Natalia Ukhorskaya bf4a71ee02 Minor: fix number of steps in some tests 2015-10-09 17:33:17 +03:00
Michael Bogdanov ae15443413 Generate linenumberts in objects clinit 2015-10-09 16:25:21 +03:00
Ilya Gorbunov 782f41580e Fix testData/debugger stepping: replace deprecated withIndices and sortBy usages. 2015-10-07 22:36:45 +03:00
Natalia Ukhorskaya 5848ea8d77 Fix usage of deprecated function in debugger testData 2015-10-05 11:44:58 +03:00
Alexey Sedunov 78f7e6b459 Extraction Engine: Support type parameter references
#KT-7260 Fixed
2015-10-01 17:35:18 +03:00
Natalia Ukhorskaya 7582f1f454 Rewrite DebuggerTests (do not use FrameTree) 2015-09-28 11:38:06 +03:00
Natalia Ukhorskaya 5c04959871 Debugger: fix evaluation for local classes
#KT-5104 Fixed
2015-09-28 09:34:54 +03:00
Ilya Gorbunov 8de40c01b9 Fix changed stdlib source file names in stepping tests. 2015-09-25 21:10:15 +03:00
Natalia Ukhorskaya c872f301ff Fix steping for inline functions with reified parameters 2015-09-25 16:01:36 +03:00
Natalia Ukhorskaya 33b5e6b255 Fix stepping for inline functions inside when, if, try 2015-09-25 16:01:35 +03:00
Denis Zharkov 3f6cadf9b7 Change FUNCTION_EXPRESSION_WITH_NAME severity to ERROR
Also drop deprecation related parts and get rid of usages of this `feature` within testData
2015-09-25 08:29:26 +03:00
Ilya Gorbunov 74e1dbff76 Fix deprecations in testData: stepping and evaluate expression tests. 2015-09-19 04:33:08 +03:00
Dmitry Petrov 1586a2df8e Make stdlib work with -Xmultifile-package-facades.
Fixed wrong owner mapping in presence of -Xmultifile-package-facades.
Fixed backing field mapping issue.
Added more tests.
2015-09-14 11:26:29 +03:00
Natalia Ukhorskaya 137f8b242a Wrong stepping for if followied by captured variable
#KT-9118 Fixed
2015-09-11 11:27:53 +03:00
Natalia Ukhorskaya cc1a756cab Fix debugger tests testData 2015-09-11 01:51:58 +03:00
Natalia Ukhorskaya 0096f2668c Fix step over if there isn't any inlined arguments 2015-09-09 15:21:25 +03:00
Natalia Ukhorskaya 519c2784ff Debugger: allow evaluate expression in constructors 2015-09-08 11:00:50 +03:00
Natalia Ukhorskaya 3aa7528c8f Show declared type for delegated properties correctly in debugger
#EA-72136 - assert: ValueDescriptorImpl.getValue
2015-09-08 11:00:47 +03:00
Michael Nedzelsky 7c1758a8d3 fix tests in org.jetbrains.kotlin.idea.debugger.evaluate 2015-09-08 02:06:13 +03:00
Michael Bogdanov 0e5a5a2e25 ldifferentTypes test fix 2015-09-07 16:29:00 +03:00
Michael Bogdanov 47635c19a2 Generate calls through new minifacades 2015-09-07 16:28:59 +03:00
Dmitry Petrov b1b845d44d Proper light classes generation in presence of the new file facades. 2015-09-07 16:28:53 +03:00
Dmitry Petrov ab8b5d05ed Light class generation for new facades/parts.
1st working (naive) implementation.
2015-09-07 16:28:45 +03:00
Dmitry Petrov 7af88f6797 Update debug tests & incremental compilation tests depending on part class naming 2015-09-07 16:28:43 +03:00
Michael Bogdanov 48c5e3d218 Debug tests patched 2015-09-07 16:28:38 +03:00
Natalia Ukhorskaya 060b6e6b15 Debugger: support stepping out inline function 2015-09-04 11:40:22 +03:00
Natalia Ukhorskaya 73946050c1 Debugger: support stepping over inline function 2015-09-04 11:40:20 +03:00
Natalia Ukhorskaya ffe41b88a7 Update to 142.4245.2: Debugger tests: changes in testData 2015-09-02 15:10:41 +03:00
Natalia Ukhorskaya 19e8c9edb0 Debugger: Support parameters of inlined lambda in evaluate expression 2015-08-26 12:16:08 +03:00
Natalia Ukhorskaya c6d29cc1d5 Debugger: support labels for non object references (primitive, array) 2015-08-26 12:16:05 +03:00
Natalia Ukhorskaya be5c1d0a44 Debugger tests: changes in testData
(cherry picked from commit 0e4b133)
2015-08-15 01:40:38 +03:00
Natalia Ukhorskaya ee49d13d89 Add tests on smart step into lambda 2015-07-23 11:54:43 +03:00
Natalia Ukhorskaya fdfabebcce Fix debugger test on Java7 2015-07-16 10:24:33 +03:00