Commit Graph

115 Commits

Author SHA1 Message Date
Natalia Ukhorskaya aaa4e747db Fix tests: type for string isn't now rendered by default 2015-06-23 15:59:19 +03:00
Natalia Ukhorskaya 8bb33f0df5 Support labels evaluation in debugger 2015-06-22 10:40:12 +03:00
Natalia Ukhorskaya 14f90f15e5 Field WatchPoints: add ability to stop at initializer 2015-06-11 12:14:53 +03:00
Natalia Ukhorskaya 32d0057a7f Support filed breakpoints on properties without backing fields 2015-06-11 12:10:17 +03:00
Natalia Ukhorskaya 1c135e7ac7 Minor: rename test 2015-06-11 12:10:16 +03:00
Natalia Ukhorskaya 1ed9ea44a9 Line numbers for traits 2015-06-11 12:10:16 +03:00
Michael Bogdanov dee26957d1 Tests for obsolete KT-4798, KT-7288, KT-7046
#KT-4798 Obsolete
 #KT-7288 Obsolete
 #KT-7046 Obsolete
2015-06-04 16:28:08 +03:00
Natalia Ukhorskaya 2d509b3211 Write correct lineNumbers for properties with comments 2015-05-27 11:17:46 +03:00
Alexander Udalov b08bd3bc67 Update FunctionImpl hack in Evaluate Expression and test data
Lambdas now have an additional superclass besides FunctionImpl: Lambda, which
should also be changed to inherit from MagicAccessorImpl
2015-05-26 15:04:55 +03:00
Natalia Ukhorskaya 1cfed000c4 Fix exception during step into inline function in library 2015-05-25 16:19:03 +03:00
Natalia Ukhorskaya 5d9daf3890 Refactor stepping tests 2015-05-25 16:19:00 +03:00
Natalia Ukhorskaya 52fe6310a0 Fix breakpoints in inline functions in libraries 2015-05-22 11:05:06 +03:00
Natalia Ukhorskaya 2b015ae09a Debugger: support field watchpoints for kotlin 2015-05-21 19:17:35 +03:00
Natalia Ukhorskaya 95b9c05138 Tests for step out command 2015-05-21 19:17:32 +03:00
Natalia Ukhorskaya 5edc25d2ba Debugger: step into default property getter/setter
#KT-7287 Fixed
2015-05-21 19:17:31 +03:00
Natalia Ukhorskaya f742188df9 Minor: do not use property in twoLambdasOnOneLineSecond test 2015-05-21 19:17:30 +03:00
Natalia Ukhorskaya 62e9c31987 Do not step into package facade class if SKIP_SYNTHETIC_METHODS flag is true 2015-05-19 10:39:09 +03:00
Dmitry Jemerov 625096466e IDE testdata: s/trait/interface 2015-05-13 16:13:13 +02:00
Natalia Ukhorskaya d7a301d698 Evaluate Expression: support local functions 2015-05-07 13:23:15 +03:00
Michael Bogdanov fe23f23664 Support inlined functional expressions in debugger 2015-05-05 12:47:56 +03:00
Natalia Ukhorskaya 328013a351 Evaluate Expression: box and unbox arguments before running JDIEval 2015-04-27 18:43:47 +03:00
Natalia Ukhorskaya 7723a9f434 Fix evaluate expression on properties with getter 2015-04-27 18:43:46 +03:00
Natalia Ukhorskaya 74e68950f9 Evaluate expression: support inline functions from source code 2015-04-22 10:56:39 +03:00
Michael Bogdanov 99496f8f52 Update some test due smap generation 2015-04-09 09:25:26 +03:00
Natalia Ukhorskaya 649654999f Debugger: add an option for computing delegated properties values in Variables View 2015-04-07 18:53:08 +03:00
Stanislav Erokhin b152211096 Added init keyword to testdata 2015-04-07 13:08:51 +03:00
Alexey Sedunov eb594a2897 Extract Function: Approximate non-resolvable types with nearest resolvable supertype when possible
#KT-7120 Fixed
2015-04-01 13:41:26 +03:00
Natalia Ukhorskaya 785f7e749f InlineCodegen: find virtual file using findVirtualFileWithHeader 2015-03-30 14:03:24 +03:00
Michael Bogdanov ed62e4972f Temporary disable smap generation 2015-03-18 19:00:24 +03:00
Pavel V. Talanov 06916d98c6 default -> companion: replace all mentions of default and default object 2015-03-17 15:47:39 +03:00
Michael Bogdanov 5c6b9b1bc6 New smap test 2015-03-16 18:52:04 +03:00
Natalia Ukhorskaya 3eb2182ef0 Evaluate expression: find local variable using callText from extract function instead of function parameter names 2015-03-10 15:27:38 +03:00
Pavel V. Talanov 59f192ef90 Replace 'class object' with 'default object' in renderers and test data
Includes changes to decompiled text
Old syntax is used in builtins and project code for now
2015-03-06 19:36:54 +03:00
Natalia Ukhorskaya 0391fbd764 Evaluate Expression: support anonymous objects evaluation 2015-03-04 12:42:59 +03:00
Natalia Ukhorskaya 601a33f772 Fix stepping test's testData 2015-02-18 18:51:51 +03:00
Natalia Ukhorskaya 7a4b291c85 Debugger: implement compiling evaluator 2015-02-12 12:16:48 +03:00
Natalia Ukhorskaya 187806d061 Debugger: remove usage of JDIEval during finding local variable in frame because it invokeMethod (loadClass) for find field type which invalidates frame 2015-02-12 12:16:46 +03:00
Natalia Ukhorskaya 3802957c15 Debugger: add tests for accessing outer class members from lambda inside inner class 2015-02-12 12:16:45 +03:00
Natalia Ukhorskaya 2f931f36c8 Implement extra variables for debugger 2015-02-06 11:21:17 +03:00
Natalia Ukhorskaya f5aefc96fb Local variable shouldn't be visible in debugger before initialization 2015-01-15 11:45:15 +03:00
Valentin Kipyatkov c915eb4eac KT-6566 Generate Override/Implement method does not work for locally declared classes
#KT-6566 Fixed
2015-01-14 20:59:23 +03:00
Natalia Ukhorskaya 2aaa94cccb Debugger: implement Jump to Source for localVariables 2015-01-12 14:16:29 +03:00
Natalia Ukhorskaya 8dcb4ab5bb Debugger: suppress UNSAFE_CALL diagnostic in debug mode 2015-01-12 14:16:26 +03:00
Natalia Ukhorskaya 94466da61b Evaluate expression: render InvocationExceptions correctly 2014-12-24 13:48:17 +03:00
Natalia Ukhorskaya 9283daccb6 Debugger: fix evaluate expression for traits 2014-12-23 14:40:28 +03:00
Natalia Ukhorskaya e35b960eb5 Stepping: do not write line numbers for call arguments
#KT-3080 Fixed
2014-12-23 14:40:26 +03:00
Natalia Ukhorskaya 261ced59c5 Correct labels for local variables 2014-12-23 14:40:24 +03:00
Natalia Ukhorskaya c6d134d63c Debugger: change usage of getSourcePosition method to SourcePositionManager
(cherry picked from commit f1c4e36)
2014-12-20 15:06:03 +03:00
Natalia Ukhorskaya 73d62902d0 Debugger: use partialBodyResolve. Don't compete variables defined after context element 2014-12-12 13:42:35 +03:00
Natalia Ukhorskaya 3ab7c6c8e9 Evaluate Expression: fix for anonymous objects - expressions where anonymous type can be replaced with super type can be evaluated 2014-12-03 12:49:40 +03:00