ttytm / webview

V binding for webview - a tiny cross-platform library to build modern cross-platform GUI applications.
https://ttytm.github.io/webview/
MIT License
59 stars 1 forks source link

bug: debug not working on macOS #27

Open ttytm opened 1 year ago

ttytm commented 1 year ago

On macOS:

2023-09-25 03:53:04.148 v-js-interop-simple[17757:5007724] NSWindow warning: adding an unknown subview: <WKInspectorWKWebView: 0x14b71b8b0>. Break on NSLog to debug.
2023-09-25 03:53:04.168 v-js-interop-simple[17757:5007724] Call stack:
(
        0   AppKit                              0x0000000195fb9790 -[NSThemeFrame addSubview:] + 116
        1   AppKit                              0x0000000195fb9470 -[NSView addSubview:positioned:relativeTo:] + 176
        2   AppKit                              0x0000000195fb933c -[NSThemeFrame addSubview:positioned:relativeTo:] + 52
        3   WebKit                              0x00000001b3deed10 _ZN6WebKit19WebInspectorUIProxy14platformAttachEv + 340
        4   WebKit                              0x00000001b3fcd874 _ZN6WebKit19WebInspectorUIProxy4openEv + 156
        5   WebKit                              0x00000001b4231948 _ZN6WebKit19WebInspectorUIProxy17didReceiveMessageERN3IPC10ConnectionERNS1_7DecoderE + 184
        6   WebKit                              0x00000001b432a210 _ZN3IPC18MessageReceiverMap15dispatchMessageERNS_10ConnectionERNS_7DecoderE + 264
        7   WebKit                              0x00000001b3f72fec _ZN6WebKit15WebProcessProxy17didReceiveMessageERN3IPC10ConnectionERNS1_7DecoderE + 40
        8   WebKit                              0x00000001b4325a00 _ZN3IPC10Connection15dispatchMessageENSt3__110unique_ptrINS_7DecoderENS1_14default_deleteIS3_EEEE + 332
        9   WebKit                              0x00000001b4325eac _ZN3IPC10Connection24dispatchIncomingMessagesEv + 284
        10  JavaScriptCore                      0x00000001ad18c0c4 _ZN3WTF7RunLoop11performWorkEv + 200
        11  JavaScriptCore                      0x00000001ad18cf90 _ZN3WTF7RunLoop11performWorkEPv + 36
        12  CoreFoundation                      0x0000000192d7263c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
        13  CoreFoundation                      0x0000000192d725d0 __CFRunLoopDoSource0 + 176
        14  CoreFoundation                      0x0000000192d72340 __CFRunLoopDoSources0 + 244
        15  CoreFoundation                      0x0000000192d70f48 __CFRunLoopRun + 828
        16  CoreFoundation                      0x0000000192d704b8 CFRunLoopRunSpecific + 612
        17  HIToolbox                           0x000000019c5c2df0 RunCurrentEventLoopInMode + 292
        18  HIToolbox                           0x000000019c5c2c2c ReceiveNextEventCommon + 648
        19  HIToolbox                           0x000000019c5c2984 _BlockUntilNextEventMatchingListInModeWithFilter + 76
        20  AppKit                              0x0000000195f9797c _DPSNextEvent + 636
        21  AppKit                              0x0000000195f96b18 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 716
        22  AppKit                              0x0000000195f8af7c -[NSApplication run] + 464
        23  v-js-interop-simple                 0x0000000100972d78 _ZN7webview6detail4objc6invokeIvPFvvEJP11objc_objectP13objc_selectorEEET_T0_DpT1_ + 40
        24  v-js-interop-simple                 0x000000010096f814 _ZN7webview6detail4objc8msg_sendIvJP11objc_objectP13objc_selectorEEET_DpT0_ + 40
        25  v-js-interop-simple                 0x000000010096d854 _ZN7webview6detail22cocoa_wkwebview_engine3runEv + 60
        26  v-js-interop-simple                 0x000000010096d80c webview_run + 24
        27  v-js-interop-simple                 0x00000001009a8918 webview__Webview_run + 24
        28  v-js-interop-simple                 0x00000001009aa028 main__main + 288
        29  v-js-interop-simple                 0x00000001009aa350 main + 88
        30  dyld                                0x000000019293bf28 start + 2236
)
kmrashad commented 10 months ago

I am having the same issue with webview on MacOS. Even the basic and bind.cc examples not working.