Jump to content

Solved [Curious Error trying to use AutoIt Debugger]


Recommended Posts

I've never seen this error before using the AutoIt graphical debugger, but nothing I've tried everything I can think of.

I've tried asking at FoolOnTheHill, the English language forum for this debugger, but apparently it's been dead for years.  And although it's possible the author's German language support forum is still running, I can't read or write German, and I can't find anywhere else to get support.

What's happening is that I first set a breakpoint early on, and then when I press "Run", I'm now always getting the following error:

Line 600 (File "C:\MyScripts\MyScript\Debug\MyScript.DebugScipt.au3");

#include "C:\MyScripts\MyScript\Debug\MyScript.DebugScipt.au3"

Error: Error opening the file.

Now, I've checked carefully, and everything in the Debug folder looks fine!  Nothing's set to read-only, nothing's hidden, and I can open all the files there just fine as well.

I thought maybe my damn antivirus was getting in my way again, but I disabled it and the problem remains.  I've also tried deleting the Debug folder and letting the debugger create it from scratch, but that doesn't solve it either.

I'm desperate for help, please!?

Thanks!

Edited by Mbee
Link to comment
Share on other sites

Thanks for your swift reply, Trong!  But none of those things is the case.

First, the appropriate files in the Debug folder DO exist.

And to insure that nothing was opened in any other app, I completely shut down and restarted, and when it was finished booting, the first and only thing I did was to right-click on the script and select "Debug".

I got the exact same error.

Any other suggestions, please?

Link to comment
Share on other sites

Line 600 is #include "C:\MyScripts\MyScript\Debug\MyScript.DebugScipt.au3" ?

 If not, post that line on here!


What is your script name, and it is located in "C:\MyScripts\MyScript\Debug\" ?

Regards,
 

Link to comment
Share on other sites

Ah! I semi-solved it!

All I know is that when I disabled the "Debug user-supplied local "include" files" in the Debugger Options, the problem went away.

I'm not sure why that was such a bad thing, but it's working now and that's all I needed.

Thanks again for your kind replies!

 

 

Link to comment
Share on other sites

  • 1 year later...

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

×
×
  • Create New...