I tried all that already. Like I stated, the trainer works just fine, the editor locks or crashes the game when activated.
Still looking for some help, advice or a fix.
Make sure you have the right version. I had the wrong version for it and it kept on crashing, until i checked the file version on the BL2.exe then I got it right editor. I hope this was helpful!