I have been developing a process using Metastorm BPM v9 where I have written server side scripts. I wanted to debug the script to verify that the logic was working as expected. I was able to set a breakpoint within the code and run the application but the process would not stop at the breakpoint. I have since discovered that when Metastorm generates the code it may insert a C# #line statement which causes the debugger to ignore all of the following code until another #line statement is encountered. This has been very frustrating for me because I was working with the help desk and this was not communicated to me. I had to discover this on my own. It also does not make since to me why the code is ignored by the debugger but is still executed. I am not sure that the perceived benefits of using this tool is worth the pair and frustration associated with trying to develop applications using the tool. Can someone explain to me why the #line statements are generated?