Setting breakpoints in a static library


Can anyone explain to me why when I set a breakpoint in a source file that is compiled with another source file to create a static library, when I run the final executable program, the breakpoint does not work? Note that the source files, static library and final executable program are in different folder and if I run the exe. program individually, it works as my makefile and the linking work.