Jump to content

_debugSetup() window isn't closing


sshrum
 Share

Recommended Posts

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'

 

Link to comment
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 ...
 

Link to comment
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 ...
 

Link to comment
Share on other sites

  • 4 weeks later...

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'

 

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...