Re: Timeout Property - WeOnlyDo Discussion board

Re: Timeout Property (General questions)

by kdcarlisle, Tuesday, July 07, 2009, 16:42 (5619 days ago) @ wodDamir

Damba,

Unfortunately I can not step through the production code. The code that I created is a powershell cmdlet that snaps into the MS Powershell framework. These cmdlets are then access via the powershell scripts. While I can debug the script, I have not found a way to debug the cmdlet itself. I originally tested all the cmdlet methods against a testing application. I could go into the code and add a bunch of debug statements to write out to a log file and then let it go.

The part that I am confused about is that the exception is being thrown and crashing the system. The code that calls the various FTP methods is wrapped in a try/catch block and any exceptions that are thrown should be caught here (which would then be written to the job's session log file).

I will see what information I can gather and post back soon.

-Kent


Complete thread: