2
0

More than 5 years have passed since last update.

Xamarin.Forms VisualStudio2017 UWPのデバッグでブレークポイントで止まらない

Posted at

2018/08/11時点

VisualStudio2017でXamarin.Formsのプロジェクトを作成
ライブラリーは.NetStandard

問題点
1.Debugでx86でUWPにしてデバッグを開始
2.適当にブレイクポイントを設定
何故かブレイクポイントで止まらない

いきなり結論
もしこの状態で困っている方がいる場合Debugモードにこだわらず一度Releaseモードで
デバッグをしてみること
何故かReleaseモードなのにブレイクポイントで止まる
Releaseの構成をコピーして新しい構成を作成したとしても何故かブレイクポイントで止まらない
むしろRelease構成が正しく機能しているその証拠にデバッグしていいのかどうかダイアログが出現してくる
要するにVisualStudioのバグだと決めつけていいと思う。

この症状はどうやらXamarin.Formsで.NetStandardのプロジェクトで、Debug構成のUWPアプリのみに起きることが分かった。
Androidで確認してみたが特に問題ない。

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0