Breakpoint execution

Can anybody tell me in detail regarding how a compiler works?

What are internal steps involved in a compiler?

And also how does a breakpoint work in a compiler when we use in debug mode?

Please help me to know the internal working procedures invovled in the compiler.

More questions in this forum