Philip_Baird
12 years agoCommunity Expert
Cannot debug Script Extensions in debugger
Hi all, I am hoping someone can help me, I am attempting to debug a Script Extension following the guide here
I have got the Script Extension installed unpacked and am able to make changes to the source, e.g. insert Log,Message() etc.
I have also added the source js file to my Project as an existing item
The problem I have now is I cannot actually debug the code in the debugger, I have tried
1. Stepping into functions in the Script Extension
2. Setting breakpoints in the source js file
all to no avail, the debugger simply steps over function calls to the Script Extension and continues on it's merry way until, in this case, it crashes.
The documentation states "Note, that you can also debug the source scripts of the extension directly in TestComplete, just like you debug ordinary test scripts" which implies what I am attempting is possible, my results, however, seem to indicate this is false.
Is it possible to have Script Extensions run in the debugger?
If so, how? the documentation isn't really of much help.
Regards,
Phil Baird
I have got the Script Extension installed unpacked and am able to make changes to the source, e.g. insert Log,Message() etc.
I have also added the source js file to my Project as an existing item
The problem I have now is I cannot actually debug the code in the debugger, I have tried
1. Stepping into functions in the Script Extension
2. Setting breakpoints in the source js file
all to no avail, the debugger simply steps over function calls to the Script Extension and continues on it's merry way until, in this case, it crashes.
The documentation states "Note, that you can also debug the source scripts of the extension directly in TestComplete, just like you debug ordinary test scripts" which implies what I am attempting is possible, my results, however, seem to indicate this is false.
Is it possible to have Script Extensions run in the debugger?
If so, how? the documentation isn't really of much help.
Regards,
Phil Baird