[ 
https://issues.apache.org/jira/browse/NETBEANS-3055?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tomáš Procházka closed NETBEANS-3055.
-------------------------------------

> 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: Next, 11.1, 11.2
>         Environment: java 9+
>            Reporter: Vítězslav Dvořák
>            Assignee: Vítězslav Dvořák
>            Priority: Minor
>              Labels: Debian, patch
>             Fix For: 12.2
>
>         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