Debugging in AppStudio

347
5
11-17-2017 08:40 AM
KrishV
by
Occasional Contributor II

Hello Everyone,

For JavaScript debugging, I have followed documentation given at below link:

http://doc.arcgis.com/en/appstudio/extend-apps/debuggingjavascript.htm

Please find my system details:

OS: Windows 10

Installed WDK for Windows 10, Version 1703

Installed qt-opensource-windows-x86-msvc2015_64-5.8.0.exe

After following all the steps in documentation, I'm getting below error:

Starting C:\Qt\Qt5.8.0\5.8\msvc2015_64\bin\qmlscene.exe...
file:///C:/Users/esri/ArcGIS/AppStudio/Apps/Feature Layer/MyApp.qml:24 module "ArcGIS.AppFramework.Controls" is not installed
file:///C:/Users/esri/ArcGIS/AppStudio/Apps/Feature Layer/MyApp.qml:23 module "ArcGIS.AppFramework" is not installed
file:///C:/Users/esri/ArcGIS/AppStudio/Apps/Feature Layer/MyApp.qml:24 module "ArcGIS.AppFramework.Controls" is not installed
file:///C:/Users/esri/ArcGIS/AppStudio/Apps/Feature Layer/MyApp.qml:23 module "ArcGIS.AppFramework" is not installed

C:\Qt\Qt5.8.0\5.8\msvc2015_64\bin\qmlscene.exe exited with code -1

Please suggest how to proceed..

Regards,

Krish

0 Kudos
5 Replies
nakulmanocha
Esri Regular Contributor

Are you working on AppStudio 2.0 or 2.1?

if 2.0 your Qt version must be Qt 5.8 - msvc2013

if 2.1 - Qt 5.9.1 - msvc2015

KrishV
by
Occasional Contributor II

Hello Nakul,

Thanks for your quick response.

I'm using AppStudio 2.1. Can you provide link to download Qt 5.9.1 msvc 2015? Link provided in documentation doesn't have Qt 5.9.1 msvc 2015. PFB link:

Index of /archive/qt/5.5/5.5.1 

I have installed qt-opensource-windows-x86-msvc2015_64-5.8.0.exe.

Regards,

Krish

0 Kudos
nakulmanocha
Esri Regular Contributor

You need go to qt webpage and look for downloads. 

On the side note. You can use console.log("messages") within your javascript code to debug your code. That is easiest and the fastest way to debug. Plus you can use the Qt which comes with AppStudio. You don't need to install anything other than AppStudio.

0 Kudos
KrishV
by
Occasional Contributor II

Hi Nakul,

I have checked Qt Webpage and looked for Qt 5.9.1 MSVC 2015 but I didn't find anything for Windows 64 bit. Can you provide me link to download this Software. As I mentioned in my earlier reply, this software is not available. 

Regards,

Krish

0 Kudos
KrishV
by
Occasional Contributor II

I have installed QT 5.9.1 and followed steps in AppStudio Documentation and now, I'm getting attached screenshot.

If i run the code, I'm getting below errors:

Please help to resolve this issue.

Regards,

Krish

0 Kudos