com.intellij.execution.ExecutionException

Syntax error: mismatched input '"p arr"' expecting ID in "=breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x0000000000400952",func="foo(int*)",file="/home/user/ClionProjects/hello/main.cpp",fullname="/home/user/ClionProjects/hello/main.cpp",line="4",thread-groups=["i1"],times="0",script={"p arr"},original-location="/home/user/ClionProjects/hello/main.cpp:4"}" line 1 position 275

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1

  • Stack trace

    • com.intellij.execution.ExecutionException: Syntax error: mismatched input '"p arr"' expecting ID in "=breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x0000000000400952",func="foo(int*)",file="/home/user/ClionProjects/hello/main.cpp",fullname="/home/user/ClionProjects/hello/main.cpp",line="4",thread-groups=["i1"],times="0",script={"p arr"},original-location="/home/user/ClionProjects/hello/main.cpp:4"}" line 1 position 275 at com.jetbrains.cidr.execution.ExecutionResult.get(ExecutionResult.java:51) at com.jetbrains.cidr.execution.debugger.backend.gdb.GDBDriver.executeCommandNoUserException(GDBDriver.java:2352) at com.jetbrains.cidr.execution.debugger.backend.gdb.GDBDriver.executeCommand(GDBDriver.java:2365) at com.jetbrains.cidr.execution.debugger.backend.gdb.GDBDriver.executeConsoleCommand(GDBDriver.java:1798) at com.jetbrains.cidr.execution.debugger.CidrDebugProcess$12.run(CidrDebugProcess.java:519) at com.jetbrains.cidr.execution.debugger.CidrDebugProcess$MyCommandProcessor.consume(CidrDebugProcess.java:709) at com.jetbrains.cidr.execution.debugger.CidrDebugProcess$MyCommandProcessor.consume(CidrDebugProcess.java:699) at com.intellij.util.concurrency.QueueProcessor.lambda$null$0(QueueProcessor.java:105) at com.intellij.util.concurrency.QueueProcessor.runSafely(QueueProcessor.java:222) at com.intellij.util.concurrency.QueueProcessor.lambda$wrappingProcessor$1(QueueProcessor.java:105) at com.intellij.util.concurrency.QueueProcessor.lambda$null$2(QueueProcessor.java:202) at com.intellij.util.concurrency.QueueProcessor.runSafely(QueueProcessor.java:222) at com.intellij.util.concurrency.QueueProcessor.lambda$startProcessing$3(QueueProcessor.java:202) at com.intellij.openapi.application.impl.ApplicationImpl$2.run(ApplicationImpl.java:308) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) 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) Caused by: com.intellij.execution.ExecutionException: Syntax error: mismatched input '"p arr"' expecting ID in "=breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x0000000000400952",func="foo(int*)",file="/home/user/ClionProjects/hello/main.cpp",fullname="/home/user/ClionProjects/hello/main.cpp",line="4",thread-groups=["i1"],times="0",script={"p arr"},original-location="/home/user/ClionProjects/hello/main.cpp:4"}" line 1 position 275 at com.jetbrains.cidr.execution.debugger.backend.gdb.GDBDriver$ErrorResponse.lambda$new$0(GDBDriver.java:2485) at com.jetbrains.cidr.execution.debugger.backend.gdb.GDBDriver$ErrorResponse.getError(GDBDriver.java:2494) at com.jetbrains.cidr.execution.debugger.backend.gdb.GDBDriver$ErrorResponse.getRecord(GDBDriver.java:2502) at com.jetbrains.cidr.execution.debugger.backend.gdb.GDBDriver.getErrorMessage(GDBDriver.java:2014) at com.jetbrains.cidr.execution.debugger.backend.gdb.GDBDriver.doWaitForResponse(GDBDriver.java:2027) at com.jetbrains.cidr.execution.debugger.backend.gdb.GDBDriver.waitForResponse(GDBDriver.java:1984) at com.jetbrains.cidr.execution.debugger.backend.gdb.GDBDriver.sendRequestAndWaitFor(GDBDriver.java:1908) at com.jetbrains.cidr.execution.debugger.backend.gdb.GDBDriver.sendRequestAndWait(GDBDriver.java:1883) at com.jetbrains.cidr.execution.debugger.backend.gdb.GDBDriver$34.run(GDBDriver.java:1802) at com.jetbrains.cidr.execution.debugger.backend.gdb.GDBDriver.lambda$doExecuteCommand$9(GDBDriver.java:2389) at com.jetbrains.cidr.execution.ExecutionQueueProcessor.lambda$submit$0(ExecutionQueueProcessor.java:23) at com.intellij.util.concurrency.QueueProcessor$RunnableConsumer.consume(QueueProcessor.java:282) at com.intellij.util.concurrency.QueueProcessor$RunnableConsumer.consume(QueueProcessor.java:279) ... 12 more Caused by: com.jetbrains.cidr.execution.debugger.backend.gdb.GDBResponse$ResponseParseException: Syntax error: mismatched input '"p arr"' expecting ID in "=breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x0000000000400952",func="foo(int*)",file="/home/user/ClionProjects/hello/main.cpp",fullname="/home/user/ClionProjects/hello/main.cpp",line="4",thread-groups=["i1"],times="0",script={"p arr"},original-location="/home/user/ClionProjects/hello/main.cpp:4"}" line 1 position 275 at com.jetbrains.cidr.execution.debugger.backend.gdb.GDBResponse$Parser.parse(GDBResponse.java:84) at com.jetbrains.cidr.execution.debugger.backend.gdb.GDBResponse.parse(GDBResponse.java:18) at com.jetbrains.cidr.execution.debugger.backend.gdb.GDBDriver.doProcessResponse(GDBDriver.java:2096) at com.jetbrains.cidr.execution.debugger.backend.gdb.GDBDriver.processResponse(GDBDriver.java:2078) at com.jetbrains.cidr.execution.debugger.backend.gdb.GDBDriver.access$1000(GDBDriver.java:49) at com.jetbrains.cidr.execution.debugger.backend.gdb.GDBDriver$4$2.onTextAvailable(GDBDriver.java:289) at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.intellij.execution.process.ProcessHandler$4.invoke(ProcessHandler.java:226) at com.sun.proxy.$Proxy14.onTextAvailable(Unknown Source) at com.intellij.execution.process.ProcessHandler.notifyTextAvailable(ProcessHandler.java:200) at com.intellij.execution.process.BaseOSProcessHandler$SimpleOutputReader.onTextAvailable(BaseOSProcessHandler.java:290) at com.intellij.util.io.BaseOutputReader.sendText(BaseOutputReader.java:202) at com.intellij.util.io.BaseOutputReader.processInput(BaseOutputReader.java:186) at com.intellij.util.io.BaseOutputReader.readAvailableNonBlocking(BaseOutputReader.java:105) at com.intellij.util.io.BaseDataReader.readAvailable(BaseDataReader.java:82) at com.intellij.util.io.BaseDataReader.doRun(BaseDataReader.java:160) at com.intellij.util.io.BaseDataReader$1.run(BaseDataReader.java:61) ... 5 more Caused by: java.lang.RuntimeException: Syntax error: mismatched input '"p arr"' expecting ID in "=breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x0000000000400952",func="foo(int*)",file="/home/user/ClionProjects/hello/main.cpp",fullname="/home/user/ClionProjects/hello/main.cpp",line="4",thread-groups=["i1"],times="0",script={"p arr"},original-location="/home/user/ClionProjects/hello/main.cpp:4"}" line 1 position 275 at com.jetbrains.cidr.execution.debugger.backend.gdb.GDBResponse$Parser$1.syntaxError(GDBResponse.java:42) at org.antlr.v4.runtime.ProxyErrorListener.syntaxError(ProxyErrorListener.java:65) at org.antlr.v4.runtime.Parser.notifyErrorListeners(Parser.java:473) at org.antlr.v4.runtime.DefaultErrorStrategy.reportInputMismatch(DefaultErrorStrategy.java:325) at org.antlr.v4.runtime.DefaultErrorStrategy.reportError(DefaultErrorStrategy.java:148) at com.jetbrains.cidr.execution.debugger.backend.gdb.GdbParser.variable(GdbParser.java:1023) at com.jetbrains.cidr.execution.debugger.backend.gdb.GdbParser.result(GdbParser.java:983) at com.jetbrains.cidr.execution.debugger.backend.gdb.GdbParser.tuple(GdbParser.java:1164) at com.jetbrains.cidr.execution.debugger.backend.gdb.GdbParser.value(GdbParser.java:1069) at com.jetbrains.cidr.execution.debugger.backend.gdb.GdbParser.result(GdbParser.java:985) at com.jetbrains.cidr.execution.debugger.backend.gdb.GdbParser.tuple(GdbParser.java:1172) at com.jetbrains.cidr.execution.debugger.backend.gdb.GdbParser.value(GdbParser.java:1069) at com.jetbrains.cidr.execution.debugger.backend.gdb.GdbParser.result(GdbParser.java:985) at com.jetbrains.cidr.execution.debugger.backend.gdb.GdbParser.notify_async_bkpt_output(GdbParser.java:761) at com.jetbrains.cidr.execution.debugger.backend.gdb.GdbParser.notify_async_output(GdbParser.java:631) at com.jetbrains.cidr.execution.debugger.backend.gdb.GdbParser.async_record(GdbParser.java:390) at com.jetbrains.cidr.execution.debugger.backend.gdb.GdbParser.out_of_band_record(GdbParser.java:320) at com.jetbrains.cidr.execution.debugger.backend.gdb.GdbParser.response(GdbParser.java:95) at com.jetbrains.cidr.execution.debugger.backend.gdb.GDBResponse$Parser.parse(GDBResponse.java:80) ... 23 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.