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
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