This article refers to legacy products, components or features. Therefore, the content in this article is offered "as is" and will no longer be updated. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.


In K2 blackpearl 0807 developers were unable to set reliable breakpoints. The breakpoint would be accepted, but when debugging the code execution would not cease where the breakpoint was set.

Error Scenario

A breakpoint is set for debugging purposes and this may be for a server event or client event. Once debugging is started, and the breakpoint is reached the following error is reported by Visual Studio: "The common language runtime was unable to set the breakpoint."

If the user ignores the error message and cancels it, then the breakpoint that was set is ignored during debugging.

Note: Breakpoints would be ignored for both Server and Client events.

Error Resolution

This Hotfix is contained within the latest K2 blackpearl 0807 Update. Install the update package to resolve the error.

The latest K2 blackpearl 0807 Update is available as an independent installation package which can be found here: https://portal.k2.com/downloads/bp/default.aspx.