Commit Graph

170 Commits

Author SHA1 Message Date
Yan Zhulanow d53c554c8c Debugger, minor: Add missing 'const' modifier 2020-02-14 17:35:16 +09:00
Yan Zhulanow 6d606e5291 Debugger, minor: Move createStepOverCommandWithCustomFilter() to DebuggerSteppingFilter 2020-02-14 17:35:16 +09:00
Yan Zhulanow 26371ea023 Debugger, minor: Update getActiveFilters() implementation, use prepend() 2020-02-14 17:35:16 +09:00
Vladimir Ilmov c804190f36 [COROUTINE] NPE exception fix if no DebugMetadata in target jvm exists 2020-02-03 09:16:50 +01:00
Vladimir Ilmov 7175e5a927 [COROUTINE] Extra logging removed, bug in method signature fix
Relates to #KT-34906
2020-02-03 09:16:50 +01:00
Dmitriy Dolovov 9594b8db42 Rename Kotlin/Native modules for uniformity 2020-01-29 20:30:46 +07:00
Dmitriy Dolovov b49e6ac581 Rename :kotlin-native:kotlin-native-library-reader to :native:frontend.native 2020-01-29 20:30:29 +07:00
Vladimir Ilmov e4d157c126 [coroutine] running coroutine stack frame merged with coroutine info 2020-01-28 08:40:14 +01:00
Mikhael Bogdanov 6e94eddb71 JVM_IR. Fix bridge generation 2020-01-27 14:53:36 +01:00
Vladimir Ilmov 84fd5b35eb Revert "[coroutine] For RUNNING coroutines -1 is the correct number"
This reverts commit cc317d7548.
2020-01-22 16:39:55 +01:00
Vladimir Ilmov ed09c673f8 AsyncStackTraceContext extra logging removed 2020-01-22 16:35:57 +01:00
Vladimir Ilmov cc317d7548 [coroutine] For RUNNING coroutines -1 is the correct number 2020-01-22 14:40:19 +01:00
Natalia Selezneva 606279b462 as36: Update to AS 3.6 RC (192.7142.36.36.6071332)
^KT-36005 Fixed
2020-01-21 15:56:01 +03:00
Vladimir Ilmov 7dc29a1840 Coroutine debugger starting even if registry key set to false - fixed 2020-01-21 11:39:13 +01:00
Vladimir Ilmov 9f720e576d [coroutine] ComboBox disabled as in progress 2020-01-21 11:39:13 +01:00
Vladimir Ilmov c33546f678 [coroutine] Exception fixed for SUSPEND coroutines. 2020-01-21 11:39:13 +01:00
Nikolay Krasko f01b4706d1 Switch to 193 platform 2020-01-19 12:01:53 +03:00
Alexander Udalov c3d5a88e52 Add -Xno-use-ir to compiler modules where JVM IR currently fails
This option has no effect on the production code. But in a custom
scenario of a local bootstrap, where the compiler is replaced with the
one where JVM IR backend is enabled by default, this option allows to
switch back to the old backend.

All of these arguments (except the one for compiling experimental
coroutines) are supposed to go away as soon as we fix related problems
in the JVM IR backend.
2020-01-16 12:21:47 +01:00
Vladimir Ilmov 4ff8acf5d7 POC coroutine panel removed 2020-01-15 14:02:05 +01:00
Vladimir Ilmov c8c0f3383d [debug] coroutine's stack frame locations pre-calculated on initialization 2020-01-15 14:02:05 +01:00
Alexander Udalov 9187a85aaf Rename UseExperimental->OptIn, Experimental->RequiresOptIn in quickfix and IDE tests 2020-01-14 21:04:43 +01:00
Vladimir Ilmov 092fb131e5 CodeConformanceTest @author mention in sources fixed 2020-01-14 16:06:44 +01:00
Vladimir Ilmov 553128c3c9 Coroutine as35 compatibility patch also added to 191. 2020-01-14 15:55:51 +01:00
Vladimir Ilmov e340651e47 CoroutineAsyncStackTraceProvider stack corruption fix 2020-01-14 11:49:09 +01:00
Vladimir Ilmov cac4a991f5 coroutine debugger toolbar added 2020-01-14 10:14:56 +01:00
Vladimir Ilmov e570450c59 coroutine debugger logic moved to jvm-debugger-coroutine module 2020-01-14 10:14:56 +01:00
Vladimir Ilmov b1b0817336 [coroutine][debugger] implementation basing on X-* approach
XCoroutine view added for direct comparison with Coroutines
2020-01-14 10:14:56 +01:00
Vladimir Ilmov 61c5ef61cc [coroutine][debugger] refactoring being done
X-view approach added for review, thread groups added
2020-01-14 10:14:55 +01:00
Alexander Udalov 8a4510c21b Regenerate tests 2020-01-02 10:31:00 +01:00
Vyacheslav Gerasimov d8d21b0cba as40: Fix test compilation for AS 4.0 C7 2019-12-25 20:19:36 +03:00
Vyacheslav Gerasimov 68f1d91e1b as40: Upgrade to AS 4.0 C7 2019-12-25 20:19:36 +03:00
Nikolay Krasko c5d4213a5c Mute CoroutineDumpTestGenerated, stable failure on windows 2019-12-25 14:05:05 +03:00
Nikolay Krasko 75beaa861f Use abstract class to prevent GradleDaemonAnalyzerTestCase running as test 2019-12-20 02:37:57 +03:00
Michael Kuzmin 254dc8f71c Build: Drop IntelliJ 2018.3 and Android Studio 3.4 support
Delete *.183 and *.as34 bunch-files
2019-12-19 18:31:07 +03:00
Dmitry Gridin 898308c7ba KotlinDebuggerCaches: fix INRE
#EA-219472 Fixed
2019-12-17 17:20:36 +07:00
Dmitry Gridin 4d7fe78a51 KotlinFunctionBreakpoint: fix INRE
#KT-35316 Fixed
#EA-219418 Fixed
2019-12-17 17:20:35 +07:00
Dmitry Gridin 8dbbd64beb idea: cleanup code 2019-12-17 13:56:48 +07:00
Yan Zhulanow a19f8ffe6a Revert "Debugger: Add IR-powered ranking tests"
This reverts commit ce21a559

Because of the erroneous behavior in 'BuilderFactoryForDuplicateSignatureDiagnostics.groupMembersDescriptorsBySignature', two functions with arguments of different inline class types are considered to have the same JVM signature.
Before the error wasn't reported, as classes didn't have proper source elements.
This issue has to be fixed before enabling ranking tests.
2019-12-13 12:23:24 +09:00
Dmitriy Novozhilov e7f8c8e155 [TEST] Regenerate tests after previous commit 2019-12-12 16:11:45 +03:00
Yan Zhulanow ce21a55943 Debugger: Add IR-powered ranking tests 2019-12-11 20:04:03 +09:00
Vladimir Ilmov f05a452ef2 [coroutine][debugger] Unit test support added for Gradle run configurations. 2019-12-11 11:46:28 +01:00
Vladimir Ilmov 82cdcb421b jdi.StringReferenceImpl references replaced with StringReference 2019-12-11 11:44:02 +01:00
Egor Ushakov e2010cb90d Do not cast to jdi impl classes 2019-12-11 13:16:27 +03:00
Natalia Selezneva b66fdad80c Set since build to IDEA 192.7142.36 for 192 bunch
Fix compilation in idea-gradle module
Android Studio 3.6 doesn't still contain some of those changes
2019-12-10 09:16:27 +03:00
Alexander Udalov fd627603a0 Refactor CompilationErrorHandler
It only had one implementation THROW_EXCEPTION, inline it everywhere
with a call to a static method
2019-12-03 10:48:34 +01:00
Yan Zhulanow 076166c22f Debugger: Generate line numbers for class initializers with a number on the 'init' keyword (KT-16277)
Debugger tests not absent as they use the bootstrap version of kotlinc.
Obviously, this change is not present in it yet.
2019-11-25 17:26:31 +09:00
Yan Zhulanow cf620cc60d Debugger: Synchronize "Add field breakpoint" dialog with the platform code 2019-11-25 17:26:30 +09:00
Yan Zhulanow 75b366fc5e EA-211653: Wrap field breakpoint dialog into a transaction guard 2019-11-25 17:26:30 +09:00
Yan Zhulanow ffeef6c18d EA-210460: Use 'safeAllLineLocations()' instead of throwing 'allLineLocations()' 2019-11-25 17:26:30 +09:00
Yan Zhulanow aaa45425da EA-210002: handle interruption in case of background inline callable searcher task 2019-11-25 17:26:30 +09:00