You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Miroslav Šulc (Jira)" <ji...@apache.org> on 2019/10/29 10:22:00 UTC
[jira] [Commented] (NETBEANS-3055) JavaFX
WebView.impl_getDebugger() was removed
[ https://issues.apache.org/jira/browse/NETBEANS-3055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16961866#comment-16961866 ]
Miroslav Šulc commented on NETBEANS-3055:
-----------------------------------------
due to this issue i also cannot compile version 11.2 and HEAD.
> 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
>
> {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-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists