Friday, November 3, 2017

[C#] Breakpoint will not currently be hit. No symbols loaded for this document.


Recently I was modify an old WPF application, but when I am debugging, it shows a message on my breakpoint told it can't work.
Breakpoint will not currently be hit. No symbols loaded for this document.

Googled it, a lot of solutions about this question, like this "Breakpoint will not currently be hit. No symbols loaded for this document." on codeproject , but no one work on me.
Google了一下,很多關於這問題的解法,像是codeproject上的"Breakpoint will not currently be hit. No symbols loaded for this document."這篇,不過沒有一個解法對我適用。

So I traced the detail, find out my pdb file (use for debug) have been removed after build, then I check my build event, in post-build event I have a command use for merge dll into exe via Libz, seems when Libz doing merge, it will clear pdb file at same time.


After remove the command, my breakpoint back to work, the problem solved!! Remember put back the command when you finish the modify.
移除指令之後,我的中斷點回來工作啦,問題解決!! 記得當你完成修改後,要把指令放回去。


  1. Since 1848, Omega watches built a reputation of being the ultimate in luxurious elegance and sporty sophistication. In 1931, replica watches salethe brand entered the Geneva Observatory trials, replica omega watches salecompeting in several categories designed to test the rigor and mechanical reliability of the Omega timepiece. The brand won all six categories and thereby adopted the slogan, "Omega, exact time for life." In 1965, NASA selected Omega to be the official watch used in training and space exploration. A true giant in name and reliability, Omega produces elegant watches that are impervious to changes in fashion. At , we offer a variety of Omega watches for sale — at the lowest prices online. When you are ready to buy an Omega watch, browse our selection that includes the: Seamaster, Speedmaster, 1957 Trilogy, DeVille, Planet Ocean, and Constellation.

  2. I have been paying attention to replica watches.replica iwc watches uk After receiving the goods, I was very surprised. The leather strap is comfortable, the watch is light weight, high quality,replica iwc da vinci watches and the price is good. If you are looking for a watch that is suitable for your daily wear, this replica watch is definitely a perfect clothing match. I will buy again!

  3. La qualité de cette réplique de chaussures Gucci est parfaite,gucci pas cher très agréable à porter, portez cette chaussure lorsque vous voyagez, pas fatiguée. Je recommande ce site à mes bons amis,gucci chaussons pas cher ils sont très heureux, peuvent acheter ces chaussures gucci pas cher


Related Posts Plugin for WordPress, Blogger...