Nikolay Krasko
58ff7f53fa
Tests only: Debugger test data modification: extra removed
2016-09-20 15:10:43 +03:00
Denis Zharkov
42e85b07c9
Fix types in local var table for destructured variables
2016-09-20 13:44:44 +03:00
Denis Zharkov
e75efc88ff
Add support for desctructuring of lambda parameters in JVM backend
...
#KT-5828 In Progress
2016-09-19 20:22:57 +03:00
Michael Bogdanov
237afb4b7c
Mark linenumber in property reference
2016-09-07 12:01:48 +03:00
Nikolay Krasko
8b84b7158a
Debugger doesn't step into 'for' body if there's inline function call in range expression (KT-13534)
...
#KT-13534 Fixed
2016-08-25 15:35:08 +03:00
Natalia Ukhorskaya
f6bb70aad1
Debugger: allow to evaluate 'this' and fields in java files
2016-08-16 09:08:34 +03:00
Natalia Ukhorskaya
6a04cd39b2
Debugger: allow to evaluate kotlin expressions in java files
...
#KT-7549 Fixed
If the context is inside PsiJavaFile, get list of all local variables available in current frame (this logic was removed in 29778311e8 01.12.2015 Drop unnecesary logic about additional context for lambda in debugger). For each variable create KtProperty inside top-level KtFunction in KtFile and set it as contextElement for KtCodeFragment. This file should have all imports from PsiJavaFile. We do not create properties on top-level because they will be highlighted as top-level vals/vars.
2016-08-03 17:51:49 +03:00
Natalia Ukhorskaya
d823d6f4ab
Debugger tests: mark objects using NodeDescriptorImpl.getMarkup. Primitive values cannot be marked.
2016-08-03 17:51:49 +03:00
Nikolay Krasko
a9ee10a8b7
Ignore intervals that has no mapping for origin line (KT-12896)
2016-08-02 01:05:08 +03:00
Nikolay Krasko
2dd7470cdc
Better search for inlined strings in strata: there might me several file mappings to the same file (KT-12896)
...
#KT-12896 In Progress
2016-08-02 01:05:05 +03:00
Nikolay Krasko
5df7358dab
Fix breakpoints in inline functions after dexing (KT-12896)
...
#KT-12896 In Progress
2016-08-02 01:02:07 +03:00
Nikolay Krasko
64979ae190
Allow to step into inline functions while debugging Android app (KT-12896)
...
#KT-12896 In Progress
2016-08-02 01:02:07 +03:00
Natalia Ukhorskaya
3cbe28095b
Debugger: check that label for marked object is a valid java identifier (KT-12651)
...
#KT-12651 Fixed
2016-07-19 17:52:55 +03:00
Nikolay Krasko
57ef3f5656
Generate linenumber for goto instruction in while (KT-13059)
...
Otherwise linenumber for previous instruction will be used in debugger. That can lead to error stepping
because it might be line that isn't reachable on current iteration.
#KT-13059 Fixed
2016-07-12 15:19:02 +03:00
Nikolay Krasko
eee45e91ce
Add more tests for PropertyAccessorDescriptor.isDeafult() usages
2016-06-29 16:16:31 +03:00
Nikolay Krasko
4087e650aa
Wrong delegation to delegation property in debugger when property defined in another module (KT-12678)
...
Different bytecode can be generated for delegated property and for non-delegated one. Backend inspects DELEGATED_PROPERTY_CALL to understand the property type, and expects that
this information had been already recorded into context. Frontend writes DELEGATED_PROPERTY_CALL into context during body resolve or type inference if type is not present.
Either way in debugger context it may happen that the DELEGATED_PROPERTY_CALL won't be written into context.
#KT-12678
2016-06-20 16:22:04 +03:00
Nikolay Krasko
3f4cde3d25
NoSuchFieldError in Evaluate Expression on a property of a derived class (KT-12206)
...
#KT-12206 Fixed
2016-06-02 14:39:51 +03:00
Ilya Gorbunov
d70b46fd37
Change evaluation test data not to encounter special implementation of single element list.
2016-04-29 22:21:19 +03:00
Nikolay Krasko
6b7aa98980
Test data modification: Don't compute compiled bytecode for same expression twice
...
Result of dc9fa6d9ac commit.
Previously computation were saved into the map that were invalidated by the computation. Now map is recreated after computation and result is saved into it.
2016-04-25 19:50:22 +03:00
Natalia Ukhorskaya
e8f46f5315
Debugger: 'Step Over' unexpectedly resume if condition of 'while' loop contains inline function call
...
#KT-11932 Fixed
2016-04-15 18:11:36 +03:00
Natalia Ukhorskaya
f0badb05ea
Debugger: fix step over for inline argument with non-local return
2016-04-15 18:11:36 +03:00
Natalia Ukhorskaya
f0cfd450e5
Debugger: fix step over inside inline function (do not step into function literal argument)
2016-04-15 18:11:36 +03:00
Natalia Ukhorskaya
d42823d4ee
Debugger: cannot evaluate expression with raw types
...
#KT-11831 Fixed
2016-04-15 15:58:07 +03:00
Natalia Ukhorskaya
070ee10872
Debugger: do not insert ambiguous imports inside codeFragments
...
#KT-11927 Fixed
2016-04-15 15:58:07 +03:00
Natalia Ukhorskaya
d7a87b2ff0
Debugger: fix breakpoints inside generic crossinline argument body
...
#KT-11848 Fixed
2016-04-15 15:58:07 +03:00
Natalia Ukhorskaya
7a5ab93f9e
Debugger: write line number for catch clause declaration
2016-04-15 15:58:07 +03:00
Natalia Ukhorskaya
8e3ec5b7f0
Debugger: fix breakpoints inside inline functions in libraries sources
2016-04-15 15:58:07 +03:00
Nikolay Krasko
37b6849d31
Update test data in debugger tests
2016-04-05 00:39:46 +03:00
Natalia Ukhorskaya
c6fe1b715d
Minor: fix test on java 6
2016-04-04 15:27:14 +03:00
Natalia Ukhorskaya
de60e6d5b7
Minor: count lambdaOrdinal in tests from 1 instead of 0
2016-04-04 12:30:46 +03:00
Natalia Ukhorskaya
09faec9ed7
Debugger: Smart Step Into inside lambda suggests methods from outer context
...
#KT-10148 Fixed
2016-04-04 12:30:46 +03:00
Natalia Ukhorskaya
4d8673d097
Smart step into skips methods from subclasses
...
#KT-11705 Fixed
2016-04-04 12:30:46 +03:00
Natalia Ukhorskaya
cba7c85c36
Minor: rearrange test data
2016-04-04 12:30:46 +03:00
Natalia Ukhorskaya
102edd5a0e
Debugger: do not insert array in imports
2016-04-04 12:30:46 +03:00
Natalia Ukhorskaya
2ce9783214
Debugger: remove useless casts from expressions converted from java
2016-04-04 12:30:46 +03:00
Natalia Ukhorskaya
a93db70995
Debugger: Convert java expression to kotlin when open EE dialog from Variables View
...
#KT-6805 Fixed
2016-04-04 12:30:46 +03:00
Dmitry Petrov
d30ab50532
KT-11410: Build stdlib with new part/facade inheritance scheme.
2016-04-01 10:13:22 +03:00
Natalia Ukhorskaya
59930c32c4
Debugger, refactoring in tests: add ability to skip some variables in printFrame
2016-03-25 20:27:19 +03:00
Natalia Ukhorskaya
a09814961f
Debugger: more precise context expression in codeFragment
...
#KT-11380 Fixed
2016-03-25 20:27:19 +03:00
Natalia Ukhorskaya
6752d0f180
Descriptors from library source should be visible from descriptors from libraries class files
2016-03-18 15:19:03 +03:00
Natalia Ukhorskaya
589d7007fc
Skip additional visibility check for java classes in debug mode
2016-03-18 15:19:03 +03:00
Natalia Ukhorskaya
26c153639a
Skip visibility check when resolving class in debug mode
...
#KT-11326 Fixed
2016-03-18 15:19:03 +03:00
Natalia Ukhorskaya
e2d2d696c0
Add function name to fake local variable for inline argument
2016-03-15 13:25:49 +03:00
Michael Bogdanov
c38f28fb08
Restore last inline function call site line number on lambda inlining into @InlineOnly function
2016-03-10 17:08:17 +03:00
Alexander Udalov
8f7047817f
Fix debugger testData after improving toString() of lambdas
2016-03-09 13:41:00 +03:00
Michael Bogdanov
f149f16882
Separately process inline function default impl body compilation (non general inline magic),
...
Fix for KT-10670 Debugger: Evaluate Expression/Watches fail for inline function parameter initialized with default value
#KT-10670 Fixed
2016-02-24 14:06:29 +03:00
Michael Bogdanov
1d17bee6cc
Don't generate source mapping on inlining 'InlineOnly' functions
2016-02-19 16:08:03 +03:00
Natalia Ukhorskaya
c5d788d049
Debugger: do not put breakpoints at lines from another file in case of inline function
2016-02-17 15:08:56 +03:00
Natalia Ukhorskaya
42927bb078
Make function delegated to sam adapter synthetic
2016-02-17 15:08:53 +03:00
Michael Bogdanov
848549dd5d
Rollback "Fix for KT-10659: Debugger: Evaluate Expression and Watches fail for inline function parameter passed by reference"
2016-02-08 16:43:22 +03:00