Sign in to follow this  
Followers 0
sshrum

_debugSetup() window isn't closing

7 posts in this topic

What gives?

The report window stays up even after I exit() outta my script; I thought the debug window was supposed to close with the parent app. The debug window sits there until I kill it off via the big red X after which the script exits.


Sean Shrum :: http://www.shrum.net

All my published AU3-based apps and utilities

'Make it idiot-proof, and someone will make a better idiot'

 

Share this post


Link to post
Share on other sites



"What gives?"

Lack of any clear usable information for one.

- What debug(UDF)? (as AutoIt itself has no specific internal debug system/commands.)

- What debug(code)? is giving you the/a problem.

How about trying that one again.


"Straight_and_Crooked_Thinking" : A "classic guide to ferreting out untruths, half-truths, and other distortions of facts in political and social discussions."
"The Secrets of Quantum Physics" : New and excellent 2 part documentary on Quantum Physics by Jim Al-Khalili. (Dec 2014)

"Believing what you know ain't so" ...

Knock Knock ...
 

Share this post


Link to post
Share on other sites

- What debug(UDF)? (as AutoIt itself has no specific internal debug system/commands.)

#include <Debug.au3>

It's standard ;)

Share this post


Link to post
Share on other sites

#include <Debug.au3>

It's standard ;)

So I'm I. According to my hight. :)


"Straight_and_Crooked_Thinking" : A "classic guide to ferreting out untruths, half-truths, and other distortions of facts in political and social discussions."
"The Secrets of Quantum Physics" : New and excellent 2 part documentary on Quantum Physics by Jim Al-Khalili. (Dec 2014)

"Believing what you know ain't so" ...

Knock Knock ...
 

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

Ok, I think I found it:

In debug.au3 :: __Debug_ReportWindowWaitClose()

Local Const $GUI_EVENT_CLOSE = -3
While WinExists(HWnd($hWndReportWindow))
    If GUIGetMsg() = $GUI_EVENT_CLOSE Then GUIDelete($hWndReportWindow)
WEnd

It's getting hung up in the loop. Specifically on the GUIGetMsg...it never equals -3. I'm seeing -11 and 0's.

I removed the if condition and left the GUIDelete(). This works for me.

Edited by sshrum

Sean Shrum :: http://www.shrum.net

All my published AU3-based apps and utilities

'Make it idiot-proof, and someone will make a better idiot'

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0