Rosemary, thank you for reminding me of Ian Rankin's books. Although I read his most recent, I had not read Standing in Another Man's Grave, and I needed a book so got that from the library yesterday.
Someone, or maybe it was on a list, suggested Stuart MacBride's books, set in Aberdeen. I tried to read the first in the series about Logan McCrae, but it was just too ugly. I guess it was supposed to have some humorous parts as well as being "gritty", but it was very dark humor. I wasn't able to finish it.