|
Rank: Advanced Member Groups: Member
Joined: 6/13/2014 Posts: 38
|
Hi EO Support, its great feature to debug the EO Web browser from Dev tools from remote debug port and console and inspecting elements were working just fine. but after version 16.2.23.0 the console in dev tools is not working. After entering any JavaScript code if I press enter to execute the code it is always go to next line instead of executing the code (please refer image below). I have checked for Chrome settings, if it is set to multiline script but it is not. It is very difficult now to trouble shoot with dev tools, can you please update if it is known issue and solved or will be solved in new version ? Thanks, Tank
|
|
Rank: Advanced Member Groups: Member
Joined: 12/10/2014 Posts: 137
|
Hey, Check this topic : https://www.essentialobjects.com/forum/postst10144_WebControl-cannot-execute-js-in-debugger.aspxYou should check your chrome version or try to debug with tabbedbrowser. Good luck
|
|
Rank: Advanced Member Groups: Member
Joined: 6/13/2014 Posts: 38
|
Hi Eurice,
thanks for the reply.. i have tried with Tabbed browser but it only debug the web viewes that are in tabbed browser and not in my application. it might be because i am using 16.X version of eo and tabbed browser is built with 17.0 version of EO.
@EO_support : can you please provide a url to download tabbed browser or complete EO Setup for 16.2.23.0 version ? i could not find it on download page.
Thanks, Tank
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,225
|
Hello Tank,
Please PM us with your order number. After we verify your order we will be able to provide you the download link.
Thanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 6/13/2014 Posts: 38
|
Hi Eo Support, i have installed the build 16.2.23.0, but i can not see debug tools in tabbed browser and can not debug js. can you please verify if debug tools is included in 16.2.23.0 version as well ? Regards, Tank
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,225
|
Hi,
You would just click "Developer Tools".
Thanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 6/13/2014 Posts: 38
|
Hi EO Support, i have already tried that. but i can't debug my window, check below screen shot. Regards, Tank
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,225
|
If you just run our TabbedBrowser, load any page (such as Google's home page), then go to the menu to open "Developer Tools", what do you see?
|
|
Rank: Advanced Member Groups: Member
Joined: 6/13/2014 Posts: 38
|
Hi EO Support,
definatly i can debug the any page opend in TabbedBrowser, but i wanted to debug the page that is opend in EO.WebBrowser control in my application and not in tabbed browser. if i can debug my application's eo control and it hosted web site then only i can debug the js functions and c# functions exposed as js in EO.
Right now it is not possible to debug my application.
Regards, Tank
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,225
|
Hi, TabbedBrowser is just an example to show you how to use the built-in debug feature. If TabbedBrowser can debug any page, your application can debug any page as well. The easiest way to do that is to call this method in your application: https://www.essentialobjects.com/doc/eo.webbrowser.webview.showdebugui.aspxThis is the same code that TabbedBrowser uses. Thanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 6/13/2014 Posts: 38
|
Hi EO Support,
i understand that using WebView.ShowDebugUI Method i can debug my application. but how to do that in production issue troubleshooting. i can't have hidden code in my application that can run and call this metthod to show debug UI.
there should be tool or chrome browser support to debug the application running on remote debug port.
Regards, Tank
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,225
|
That's what the remote debug is for. We have verified that it does work. Here are our steps:
1. Start one instance of TabbedBrowser, load a page such as "http://www.google.com"; 2. Start another instance of TabbedBrowser, load "http://localhost:1234"; 3. We then navigate to the JavaScript console on the second page and type "alert('hi')" and the alert box is correctly displayed;
Could there be something in your page that overwrote the built-in alert method? Or your code handled JSDialog event and silenced the alert?
|
|
Rank: Advanced Member Groups: Member
Joined: 6/13/2014 Posts: 38
|
Hi EO Support, i have already tried to access my application's remote port from tabbed browser and also tried the solution you have suggested but it is giving error as below. Regards, Tank
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,225
|
I am not sure what else to tell you. We tried exactly the same steps and it works fine.
If you must debug your application, I recommend you to add a shortcut to invoke WebView.ShowDebugUI. That should always work.
Thanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 6/13/2014 Posts: 38
|
Hi EO Support,
Are you also using the same version as i am ? i.e. 16.2.23.0 ?
Regards, Tank
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,225
|
Hi,
Please try the current version. Only the current version is being actively maintained.
Thanks!
|
|