[ 
https://issues.apache.org/jira/browse/NETBEANS-3055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16961911#comment-16961911
 ] 

Miroslav Šulc commented on NETBEANS-3055:
-----------------------------------------

the attached patch should fix the issue though idk how to handle the caught 
exceptions wrt the calling code exception handling so i just throw 
RuntimeException...

> JavaFX WebView.impl_getDebugger() was removed 
> ----------------------------------------------
>
>                 Key: NETBEANS-3055
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-3055
>             Project: NetBeans
>          Issue Type: Bug
>          Components: javascript - Debugger
>    Affects Versions: 11.1
>         Environment: java 9+
>            Reporter: Vítězslav Dvořák
>            Priority: Minor
>              Labels: Debian
>         Attachments: fix-private-debugger-access.patch
>
>
> {code:java}
>  [repeat] 
> .../netbeans/ide/core.browser.webview/src/org/netbeans/core/browser/webview/ext/WebKitDebuggingTransport.java:68:
>  error: cannot find symbol
>  [repeat] this.debugger = browserImpl.getEngine().impl_getDebugger();
>  [repeat] ^
>  [repeat] symbol: method impl_getDebugger()
>  [repeat] location: class WebEngine{code}
>  
> There is suggested workaround but does not work for me:
> [https://github.com/mohamnag/javafx_webview_debugger/issues/6]
>  
> {code:java}
> Class webEngineClazz = browserImpl.getClass();
>  Field debuggerField = webEngineClazz.getDeclaredField("debugger");
>  debuggerField.setAccessible(true);
>  this.debugger = (Debugger) debuggerField.get(browserImpl.getEngine());{code}
> Debugger field does not exist here anymore :(
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to