Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why/How is IntelliJ causing debug output in Netbeans?

Yesterday I was debugging a Java application with Netbeans. (i.e. the application was running with the debugger attached) At the same time I was working with IntelliJ on a Rails application.

I noticed two strange messages in the Netbeans debug output window:

Exception "java.lang.ClassNotFoundException:
com.intellij.codeInsight.editorActions.FoldingTransferableData$FoldingData"
while constructing DataFlavor for: application/x-java-jvm-local-objectref;
class=com.intellij.codeInsight.editorActions.FoldingTransferableData$FoldingData

and

Exception "java.lang.ClassNotFoundException:
com.intellij.codeInsight.editorActions.ReferenceTransferableData$ReferenceData"
while constructing DataFlavor for: application/x-java-jvm-local-objectref;
class=com.intellij.codeInsight.editorActions.ReferenceTransferableData$ReferenceData

Just out of curiosity: What was happening here?

If it matters: I'm using Netbeans 7.0.1 and IntelliJ 10.5.2 (Evaluation) with the Ruby plugin.

like image 559
Daniel Rikowski Avatar asked Oct 21 '11 08:10

Daniel Rikowski


People also ask

How do I stop IntelliJ debugging?

Terminate a debugger sessionClick the Stop button in the Debug tool window. Alternatively, press Ctrl+F2 and select the process to terminate (if there are two or more of them).

What does IntelliJ debug do?

During a debugging session, you launch your program with the debugger attached to it. The purpose of the debugger is to interfere with the program execution and provide you with the information on what's happening under the hood. This facilitates the process of detecting and fixing bugs in your program.

How do I skip a debug line in IntelliJ?

If you press and hold the Ctrl / ⌘ button while dragging the arrow, the IDE will highlight all the lines in green. When you drop the arrow, you won't jump to the line of code. Instead, the IDE will act as if you have used the Run to Cursor (⌥F9) action.

Why my debugger is not working in IntelliJ?

To solve this, simply remove the jar of the debugged module from all modules' dependencies in the Project Structure. If you do not know which modules have the debugged module jar as dependencies, you can use some tools (Eg. Sublime Text, bash, ...) to search for the module name which is stored in Intellij *.


1 Answers

This is a serialized object put in the clipboard by IntelliJ (Transferable is for clipboard operations) that is unknown to Netbeans. Nothing to worry about.

like image 59
Emmanuel Bourg Avatar answered Oct 06 '22 09:10

Emmanuel Bourg