r4intellij icon indicating copy to clipboard operation
r4intellij copied to clipboard

Actual type is not the same as expected: [actual: RESPONSE]

Open Mincol opened this issue 7 years ago • 7 comments

Actual type is not the same as expected: [actual: RESPONSE, expected: [CONTINUE_TRACE, DEBUG_AT, DEBUGGING_IN, EMPTY, EXITING_FROM, RECURSIVE_EXITING_FROM]]
com.r4intellij.debugger.exception.RUnexpectedExecutionResultTypeException: Actual type is not the same as expected: [actual: RESPONSE, expected: [CONTINUE_TRACE, DEBUG_AT, DEBUGGING_IN, EMPTY, EXITING_FROM, RECURSIVE_EXITING_FROM]]
	at com.r4intellij.debugger.function.RFunctionDebuggerBase.advance(RFunctionDebuggerBase.java:112)
	at com.r4intellij.debugger.RDebugger.continueDebug(RDebugger.java:197)
	at com.r4intellij.debugger.RDebugger.advance(RDebugger.java:115)
	at com.r4intellij.run.debug.RDebugProcess.advance(RDebugProcess.java:299)
	at com.r4intellij.run.debug.RDebugProcess.access$100(RDebugProcess.java:41)
	at com.r4intellij.run.debug.RDebugProcess$1.run(RDebugProcess.java:149)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)

Mincol avatar Jan 15 '18 09:01 Mincol

What did you do to cause the error?

holgerbrandl avatar Jan 15 '18 12:01 holgerbrandl

I was debugging my R script.

Mincol avatar Jan 15 '18 15:01 Mincol

This is minimal example which will reproduce it: cat("This will create exception")

So you need additional info?

Mincol avatar Jan 24 '18 10:01 Mincol

No, same with me.

holgerbrandl avatar Jan 25 '18 20:01 holgerbrandl

I have the same problem with 2017.2.3 pycharm. Is it caused by the latest version of Jetbrain? Could it be fixed by using the older one?

daimingzhong avatar Feb 08 '18 05:02 daimingzhong

Unfortunately, the R debugger was never ready for primetime imho. But for sure Intellij API is evolveing as well.

holgerbrandl avatar Feb 08 '18 15:02 holgerbrandl

Same problem here with Intellij 2018.2.5 and R plugin 1.0.10.

benelot avatar Oct 22 '18 09:10 benelot