debugging - Why can't I hit the breakpoint when I start debug the Xamarin Android Application? -


when start debug first xamarin android application, set breakpoints. whatever do, still not hit breakpoint. what's wrong this?

i have tried many times, did not help.

i've found name of folder contains project can make difference. do have spaces or punctuation characters in yours?

the folder name same project name, doesn't have be. had xamarin android project called "engagement (android)" within solution, , default stored on disk @ ...\engagement (android)\engagement (android).csproj

no matter did, wouldn't hit breakpoints. brand new projects added (called test1, test2, etc) - debugged perfectly.

when changed folder name "engagement_android" (keeping same project name) - started hitting breakpoints again.

other symptoms went included "clean project" option not clearing files bin/debug folder (it left behind project's main dll , pdb file).

the thing nailed me noticing when did clean build, bin/debug folder did not contain "mdb" file main exe (in case engagement android.dll.mdb) , not been packaged apk file.

it turns out mdb files way debugging information gets packaged apk - without can't debug! think created tool called pdb2mdb.exe during build process.

if try this, bear in mind physical folder name not project name important. also, need edit sln file because contains reference path of each project in solution - make change there too.


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -