Vítězslav Dvořák created NETBEANS-3055:
------------------------------------------

             Summary: 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


{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.2#803003)

---------------------------------------------------------------------
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