When you first use QT Creator, you want to use breakpoints to debug JavaScript code. But after pressing the debug key, but prompted the debugger is not configured, let me more depressed.
Well, depressed is said, let's say happy. To QT Creator debugging problem, we need to follow the following steps to complete the debugger download, installation, configuration:
1, the first is to download the Debug toolkit, URL: http://www.microsoft.com/en-us/download/details.aspx?id=11800
Figure A
2, decompression and installation of Grmwdk_en_7600_1.iso in the debuggers
3. Open QT Creator for configuration:
Click on the Options bar in the tool to pop up the Options dialog box:
Figure II
Click Build and run in the Options dialog box, select Debuggers, click Add, Pop-up window
Might
Click Browse, Pop-up file selection box
Figure Four
Select the 7600.16385.1 folder in the folder where you installed the WDK, open the Debuggers folder, and select the CDB application. I installed on the C drive, as follows:
Figure Five
File selection OK, give the debugger a name, click OK just fine
Figure Six
The configuration process is complete.
4. Restart Qt Creator. (Note: Be sure to restart QT creator!!! )
Now go to the JS code to make a breakpoint, and then click Dubug.
Figure Seven
I hope this simple post will be helpful to the children with this confusion, if there are any questions or friends interested in QML application and research, please join us for discussion (QQ Group: 280689979). If you need to reprint, without our authorization, but need to indicate the original link (the article link), and the original author, thank you!
Http://www.jianshu.com/p/43c4f8c736d5
Under Windows, the JavaScript debugger in Qt Creator is installed and used