[TIMOB-17924] Fixed crash with debugger

http://jira.appcelerator.org/browse/TIMOB-17924