Jump to content
Sign in to follow this  
cappy2112

Debugger or stepping through code

Recommended Posts

cappy2112

Do any debuggers or utilities exist which allow you to set breakpoitns or step through AutoIt code?

Share this post


Link to post
Share on other sites
seandisanti

Do any debuggers or utilities exist which allow you to set breakpoitns or step through AutoIt code?

there isn't (that i know of) a real step-through functionality, even with SciTE, the way that real time debugging is usually done, is with

Opt("TrayIconDebug",1)

that shows the line being executed as a tooltip if you hover the mouse over the tray icon. Also, you can use messageboxes, or ConsoleWrite() to display values at key points of code. I also use ToolTip() alot to display values or loop counters when i need to really watch values during debugging executions.

Share this post


Link to post
Share on other sites
cappy2112

there isn't (that i know of) a real step-through functionality, even with SciTE, the way that real time debugging is usually done, is with

Opt("TrayIconDebug",1)

that shows the line being executed as a tooltip if you hover the mouse over the tray icon. Also, you can use messageboxes, or ConsoleWrite() to display values at key points of code. I also use ToolTip() alot to display values or loop counters when i need to really watch values during debugging executions.

I tried using MSgboxes, but I want to avoid anything that changes the focus of any controls.

I will try the suggestion above

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.