启用Break on Exception时,Webstorm会停止进程

时间:2016-01-07 09:07:49

标签: node.js webstorm

我最近将项目的节点版本从0.12.X升级到4.2.4 现在每当我使用调试运行项目时都会出现" Break on Exception" (闪电符号)打开。应用程序只需退出消息:

Process finished with exit code -1073741510 (0xC000013A: interrupted by Ctrl+C)

在任何地方都没有报告其他错误。 如果我在没有调试器的情况下运行,或者如果我转向" Break on Exception"那么问题就不会发生。关闭。

我尝试了各种各样的选项,包括" Break on Exception"配置,但没有任何帮助。

知道可能导致它的原因吗?

Webstorm 11.0.3

Node.js 4.2.4

编辑:我在日志中收到以下错误 2016-01-07 11:30:40,786 [ 104966] ERROR - ins.io.ChannelExceptionHandler - Expected a string but was NULL at line 1 column 314 com.google.gson.JsonParseException: Expected a string but was NULL at line 1 column 314 at org.jetbrains.io.JsonReaderEx.a(JsonReaderEx.java:1479) at org.jetbrains.io.JsonReaderEx.nextString(JsonReaderEx.java:826) at org.jetbrains.io.JsonReaderEx.nextString(JsonReaderEx.java:778) at org.jetbrains.v8.protocol.V8ProtocolReaderImpl$Mb.<init>(V8ProtocolReaderImpl.kt:501) at org.jetbrains.v8.protocol.V8ProtocolReaderImpl$M1.<init>(V8ProtocolReaderImpl.kt:146) at org.jetbrains.v8.protocol.V8ProtocolReaderImpl.readBreakEvent(V8ProtocolReaderImpl.kt:17) at org.jetbrains.v8.BreakEventHandlerKt.processBreak(BreakEventHandler.kt:13) at org.jetbrains.v8.EventMap.handleResponseWithHandler(EventMap.kt:35) at org.jetbrains.v8.V8CommandProcessor.acceptNonSequence(V8CommandProcessor.kt:40) at org.jetbrains.v8.V8CommandProcessor.acceptNonSequence(V8CommandProcessor.kt:14) at org.jetbrains.rpc.MessageManager.processIncoming(MessageManager.kt:91) at org.jetbrains.v8.V8CommandProcessor.processIncomingJson(V8CommandProcessor.kt:18) at org.jetbrains.v8.StandaloneV8Vm$2.consume(StandaloneV8Vm.kt:35) at org.jetbrains.v8.StandaloneV8Vm$2.consume(StandaloneV8Vm.kt:20) at org.jetbrains.v8.V8MessageDecoder.readContent(V8MessageDecoder.java:126) at org.jetbrains.v8.V8MessageDecoder.messageReceived(V8MessageDecoder.java:110) at org.jetbrains.io.Decoder.channelRead(Decoder.java:38) at io.netty.channel.ChannelHandlerInvokerUtil.invokeChannelReadNow(ChannelHandlerInvokerUtil.java:83) at io.netty.channel.DefaultChannelHandlerInvoker.invokeChannelRead(DefaultChannelHandlerInvoker.java:163) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:155) at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:950) at io.netty.channel.oio.AbstractOioByteChannel.doRead(AbstractOioByteChannel.java:166) at io.netty.channel.oio.AbstractOioChannel$1.run(AbstractOioChannel.java:38) at io.netty.channel.ThreadPerChannelEventLoop.run(ThreadPerChannelEventLoop.java:52) at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:742) 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) at org.jetbrains.ide.PooledThreadExecutor$1$1.run(PooledThreadExecutor.java:55) 2016-01-07 11:30:40,792 [ 104972] ERROR - ins.io.ChannelExceptionHandler - WebStorm 11.0.3 Build #WS-143.1559.5 2016-01-07 11:30:40,792 [ 104972] ERROR - ins.io.ChannelExceptionHandler - JDK: 1.8.0_51 2016-01-07 11:30:40,792 [ 104972] ERROR - ins.io.ChannelExceptionHandler - VM: Java HotSpot(TM) Server VM 2016-01-07 11:30:40,793 [ 104973] ERROR - ins.io.ChannelExceptionHandler - Vendor: Oracle Corporation 2016-01-07 11:30:40,793 [ 104973] ERROR - ins.io.ChannelExceptionHandler - OS: Windows 7 2016-01-07 11:30:40,793 [ 104973] INFO - ins.io.ChannelExceptionHandler - Channel will be closed due to error

1 个答案:

答案 0 :(得分:1)

已知错误,eval()中的异常发生崩溃;见WEB-19469