When session lock debugging and read only sessions deubgging are both enabled, session lock debugging becomes moot. This patch causes the session lock deubgging code to exit early if read only sessions debugging is enabled.