Unable to debug windows service - The breakpoint will not be currently hit

.net, visual-studio-2010, windows-services

Solution

Or you could specify the path to your Symbols for Visual Studio to find.

Tools > Options > Debugging > Symbols > Add in the directory of your pdb files.

Problem

I cant seem to debug a recent modified windows service. When I first installed it, I was able to debug it by attaching the debugger to this running service (eg using 'Attach to process' in visual studio). However, recently I have modified the service code, rebuilt it and reinstalled it. Now I cant seem to debug it - it says that 'The breakpoint will not be currently hit'. I hope I have provided enough info. Many thanks.

Original source

Related problems