右键webstorm.app图标右键包内容,依次进入Contents/MacOS目录,右键双击

这篇博客记录了在Mac上尝试启动WebStorm时遇到的问题。日志显示应用由于未捕获的NSInternalInconsistencyException异常而终止,这通常与窗口管理或UI组件有关。错误详细信息涉及到NSWindow和拖拽区域的无效化操作,可能与应用程序的界面初始化或加载过程中的资源冲突有关。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Last login: Thu Dec 22 21:38:08 on ttys000

/Applications/WebStorm.app/Contents/MacOS/webstorm ; exit;                      

➜  ~ /Applications/WebStorm.app/Contents/MacOS/webstorm ; exit;

2022-12-22 21:38:22.493 webstorm[18233:499114] allVms required 1.8*,1.8+

2022-12-22 21:38:22.494 webstorm[18233:499117] Current Directory: /Users/apple

2022-12-22 21:38:22.494 webstorm[18233:499117] parseVMOptions: WEBSTORM_VM_OPTIONS = /Users/apple/Downloads/jetbra/vmoptions/webstorm.vmoptions

2022-12-22 21:38:22.496 webstorm[18233:499117] parseVMOptions: platform=-1 user=-1 file=(null)

2022-12-22 21:38:22.558 webstorm[18233:499117] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'NSWindow drag regions should only be invalidated on the Main Thread!'

*** First throw call stack:

(

0   CoreFoundation                      0x000000019b8333f8 __exceptionPreprocess + 176

1   libobjc.A.dylib                     0x000000019b37eea8 objc_exception_throw + 60

2   CoreFoundation                      0x000000019b85c810 _CFBundleGetValueForInfoKey + 0

3   AppKit                              0x000000019ea5aa18 -[NSWindow(NSWindow_Theme) _postWindowNeedsToResetDragMarginsUnlessPostingDisabled] + 320

4   AppKit                              0x000000019ea49524 -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 816

5   AppKit                              0x000000019eba467c -[NSPanel _initContent:styleMask:backing:defer:contentView:] + 48

6   AppKit                              0x000000019ea491e8 -[NSWindow initWithContentRect:styleMask:backing:defer:] + 48

7   AppKit                              0x000000019eba4630 -[NSPanel initWithContentRect:styleMask:backing:defer:] + 48

8   AppKit                              0x000000019ea47dd4 -[NSWindowTemplate nibInstantiate] + 216

9   AppKit                              0x000000019ea1ac54 -[NSIBObjectData instantiateObject:] + 212

10  AppKit                              0x000000019ea1a61c -[NSIBObjectData nibInstantiateWithOwner:options:topLevelObjects:] + 252

11  AppKit                              0x000000019ea103cc loadNib + 340

12  AppKit                              0x000000019ea0f9fc +[NSBundle(NSNibLoading) _loadNibFile:nameTable:options:withZone:ownerBundle:] + 560

13  AppKit                              0x000000019ea0f700 -[NSBundle(NSNibLoading) loadNibNamed:owner:topLevelObjects:] + 180

14  AppKit                              0x000000019ece2d18 -[NSAlert init] + 92

15  webstorm                            0x0000000102191270 -[Launcher buildArgsFor:] + 1144

16  webstorm                            0x0000000102191878 -[Launcher launch] + 312

17  Foundation                          0x000000019c6b9470 __NSThread__start__ + 716

18  libsystem_pthread.dylib             0x000000019b6d906c _pthread_start + 148

19  libsystem_pthread.dylib             0x000000019b6d3e2c thread_start + 8

)

libc++abi: terminating with uncaught exception of type NSException

[1]    18233 abort      /Applications/WebStorm.app/Contents/MacOS/webstorm

Saving session...completed.

[进程已完成]

评论 5
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值