This is what the debug tool view looks like. No pa...
# intellij
b
This is what the debug tool view looks like. No pause button, no frames tab, no nothing.
o
The process finished with SIGINT already, did you set a breakpoint or something?
b
That’s not the point.
Look at that view.
There are many things missing.
o
Indeed, looks weird. What’s your IDE?
b
IDEA 2018.2.5.
o
Looks like an app failed to even start, no message related to debugger connection…
b

https://i.imgur.com/S40V87b.png

This is with an application running.
What could make the connection to the debugger fail?
o
I have it like this. I might need more information about your setup, but not sure what, yet.
b
Well. macOS 10.13.6, IDEA 2018.2.5, Kotlin plugin 1.3.0.
o
If you create a Java file with
public static void main
, does it work?
Same for a simple Kotlin fine with
fun main()
?
b
Hmm, it also doesn’t work for the Java file… at least in this project.
This is weird. I have this other project, mixed Java/Kotlin. The Java test class gets the anemic debugger but the unit tests get the full window.
o
It kinda looks like the IDE doesn’t understand it’s a JVM program.
What’s Run Configuration you have?
b
Not quite sure what you’re asking, I didn’t do anything special for any of these, Green arrow, "debug."
image.png
o
Looks okay… weird
b
I totally agree.
Well, thanks for your help so far. Just @ me if you can think of anything further or if you need anything else, I need to get to bed now. 🙂 Good night!
y
looks like you just hid all the subviews… try pressing “restore layout” button in the toolbar
o
@yole doesn’t look like this, no pause button, no breakpoint buttons, debugger not connecting, etc. Check the thread.
g
Can you try re-importing project?
b
@yole that doesn’t do anything.
@goodwinnk re-importing the project with the same user doesn’t change anything; however, importing the project with a new user fixes it.
So it’s something in my local setup.
I removed ~/L/AS/IntelliJIdea2018.2 and now the debug view is back to normal.
However, none of my other settings seem to have been touched so what exactly is stored in that directory? 🙂
Ah, apparently plugins, I’m back at kotlin-1.2.51… 🙂
g
It's not that simple. You've mentioned that Java debugger is also affected, but Kotlin plugin shouldn't modify behavior in it. Also I wasn't able reproduce the problem with the Kotlin 1.3.0 on my machine with cd2a project. In general, it looks like some bad project misconfiguration, that's why I have suggested re-importing. Does returning 1.3.0 make it reproducible again?
b
No, returning to 1.3.0 does not break it again. I also remember having this problem before so I would be surprised if it was Kotlin’s fault.
o
You might want to report it to IntelliJ issue tracker, see topic
b
Will do.
👍 2