Sorry I have not worked with Adobe Drive, but have done a fair amount of scripting in Bridge. Any error in your code will create an endless loop and you will have to force close Bridge.
Also Bridge will cache the code you really need to re-start Bridge each time you run the new code, it's a pain.
You will have to start with the minimum of code and plenty of alerts to see where you are in the code.
You may be better working with an older version of Bridge as CS6 is terrible.
All the very best and hope you manage to sort it.