system.io.filenotfound exception

system.io.filenotfound exception

Postby anallyst » Wed Jun 02, 2010 9:01 am

when i change the path settings in the ide, or click on run, or single step, or whatever,

the program will crash immediately

windows reports a file not found exception

so pls put a

try {
}catch

around it and display the error, so that one can see which file he wants to open ?
pretty basic stuff.

if i had a .Shit ahem .Net devel environment i would do it myself
anallyst
 
Posts: 4
Joined: Wed Jun 02, 2010 8:56 am

Re: system.io.filenotfound exception

Postby thefoolonthehill » Thu Jun 03, 2010 9:15 pm

I don't use try-catch because the program generates an error on any unhandled (all) exceptions, so I don't know why it is not generating an error. Could be that the error is not coming from the program itself, but from .Net.

Can you confirm that you have SciTE installed and it on the same drive as the Debugger? What version of .Net do you have?
thefoolonthehill
Site Admin
 
Posts: 53
Joined: Thu Dec 18, 2008 3:45 pm

Re: system.io.filenotfound exception

Postby anallyst » Fri Jun 04, 2010 3:23 am

i have .net installed ( 1.1 , 2.0, 3.x )

i use the newest autoit version, in the same folder is scite.

but i dont use any beta (why should i, when i have the newest release?).

tried to enter the non-beta paths in the beta fields, but the app crashed immediately after a click on OK

folder layout is default
Code: Select all
C:\
     programme\
                        AutoIt3\
                                     AutoItDebugger\
                                     Scite\

you should really handle that exception where it happens.
anallyst
 
Posts: 4
Joined: Wed Jun 02, 2010 8:56 am

Re: system.io.filenotfound exception

Postby thefoolonthehill » Fri Jun 04, 2010 9:43 pm

Are you running Win 7? If so can you record what you do using the Problem Steps Recorder (psr.exe from Start>Run).

Thanks,

Steve
thefoolonthehill
Site Admin
 
Posts: 53
Joined: Thu Dec 18, 2008 3:45 pm

Re: system.io.filenotfound exception

Postby anallyst » Thu Jun 10, 2010 10:08 am

no, it is xp.
anallyst
 
Posts: 4
Joined: Wed Jun 02, 2010 8:56 am

Re: system.io.filenotfound exception

Postby anallyst » Wed Jun 23, 2010 6:55 am

may i suggest you test by simply removing some needed files from your structure ? then you will see the crash.
you could then catch the exception and display a meaningful error message such as "autoit3.exe not found"
anallyst
 
Posts: 4
Joined: Wed Jun 02, 2010 8:56 am

Re: system.io.filenotfound exception

Postby thefoolonthehill » Mon Jul 19, 2010 12:52 pm

This should be fixed in the next version.

Thanks,

Steve
thefoolonthehill
Site Admin
 
Posts: 53
Joined: Thu Dec 18, 2008 3:45 pm


Return to AutoIt Debugger

Who is online

Users browsing this forum: No registered users and 1 guest

cron