__UPDATE__: [Script Debugger 6](www.latneightsw.com) addresses this problem.
Customers often write in asking why Script Debugger will not allow them to change the case of identifiers in their scripts (e.g. change ‘myname’ to ‘myName’).
This is actually a _feature_ of AppleScript. AppleScript remembers the case of each identifier it encounters in your script (from the first time you compiled the script). From that point onward, AppleScript converts the case of subsequent instances of identifiers to match the first instance.
This is helpful in some instances, but if you want to alter the case of your identifiers it can be very frustrating.
The workaround is this:
1. Save your script as a text document (.applescript extension)
1. Quit Script Debugger to ensure that AppleScript’s caches are flushed
1. Launch Script Debugger
1. Open the text (.applescript) version of your script
1. Make your identifier case changes
1. Compile your script
1. Save your script as a compiled script or application