Page 1 of 1
How do I stop debugging?
Posted: Thu Jul 12, 2007 10:19 am
by wileywilly
I upgraded to version 7 recently and I think am most impressed by the UI. One problem though - I cant seem to get my setup to stop debugging .
When I cancel the setup (in debug mode running within the ide) the dialog freezes. Am only able to close the dialog from the task manager.
Has anyone experienced this or am I doing something wrong?
Posted: Thu Jul 12, 2007 10:55 am
by MichaelNesmith
Are you clicking the setup wizard dialog that is showing away? If its a wizard step, you need to click the Next button (or another button that returns from the dialog to abort debugging).
Posted: Thu Jul 12, 2007 11:23 am
by wileywilly
I have tried clicking the dialog away but it still doesn't go away.
This only happens when I click on the cancel button - next and back buttons do exactly what they ought to do.
Am using scripts I built with version 6(they run ok in v6)
Posted: Thu Jul 12, 2007 1:38 pm
by MichaelNesmith
Can't reproduce. Anyone else seeing this behavior?
How do I stop debugging - SOLVED.
Posted: Mon Jul 16, 2007 1:30 am
by wileywilly
I finally solved the debug issue - my setup script contains a call dll function which informs the host application that setup is finished therefore passing control from the setup to the host application.
My code during the 'dialog freeze'
[DEFINE REGION: Process (Un)Installation]
label: Main Install
Comment: Exit Setup if Wizard Loop cancelled
if Variable WIZARD Equals CANCEL
Call DLL Function $APP_REGISTER_DLL$->EndInstall (get result into variable CallDLL_CHECK)
Terminate Installation
end
I changed the code so that the call dll function comes after the Terminate Installation command
The CANCEL button now does just that - It cancels setup
Thanks for your help and keep up the good work