{"id":57988,"date":"2023-01-22T16:09:42","date_gmt":"2023-01-22T15:09:42","guid":{"rendered":"https:\/\/ar3dp.de\/docs\/programmieren\/dotnet-maui\/maui-app-profiling\/"},"modified":"2023-01-22T16:09:42","modified_gmt":"2023-01-22T15:09:42","slug":"maui-app-profiling","status":"publish","type":"docs","link":"https:\/\/ar3dp.de\/en\/docs\/programmieren\/dotnet-maui\/maui-app-profiling\/","title":{"rendered":"MAUI App &#8211; Profiling"},"content":{"rendered":"<div class=\"alert-box alert text-center font-size-1 rounded-0 mb-0 bg-warning\"><span class=\"text\" style=\"color:#ffffff\">Im Aufbau<\/span><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Vorbereitung<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Als Erstes musst du zwei &#8220;dotnet&#8221;-Tools installieren.<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:true,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;shell&quot;,&quot;mime&quot;:&quot;text\/x-sh&quot;,&quot;theme&quot;:&quot;material&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;TrpContentRestriction&quot;:{&quot;restriction_type&quot;:&quot;exclude&quot;,&quot;selected_languages&quot;:[],&quot;panel_open&quot;:true},&quot;language&quot;:&quot;Shell&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;shell&quot;}\"> dotnet tool install --global dotnet-dsrouter\n dotnet tool install --global dotnet-trace<\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">iOS<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Verf\u00fcgbare Ger\u00e4te &amp; Simulatoren herausfinden<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Zuerst musst du ein passendes Ger\u00e4t ausw\u00e4hlen, mit welchen du deine .NET MAUI App profilen willst. Gib dazu folgenden Befehl auf deinem MAC ein. (Terminal)<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:true,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;shell&quot;,&quot;mime&quot;:&quot;application\/x-sh&quot;,&quot;theme&quot;:&quot;material&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;TrpContentRestriction&quot;:{&quot;restriction_type&quot;:&quot;exclude&quot;,&quot;selected_languages&quot;:[],&quot;panel_open&quot;:true},&quot;language&quot;:&quot;Shell&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;shell&quot;}\">xcrun simctl list devices<\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Anschlie\u00dfend erh\u00e4ltst du eine \u00dcbersicht der verf\u00fcgbaren Simulatoren. W\u00e4hle das gew\u00fcnschte Ger\u00e4t aus der Liste und kopiere dir die UDID.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">iPhone 14 Pro (<span class=\"font-weight-semi-bold\">56353D05-7DD5-40CD-8A97-35BC38AC0AB7<\/span>) (Booted)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">F\u00fcge die UDID dann beim &#8220;device&#8221; Parameter, wie unten angezeigt, ein.<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:true,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;shell&quot;,&quot;mime&quot;:&quot;application\/x-sh&quot;,&quot;theme&quot;:&quot;material&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;TrpContentRestriction&quot;:{&quot;restriction_type&quot;:&quot;exclude&quot;,&quot;selected_languages&quot;:[],&quot;panel_open&quot;:true},&quot;language&quot;:&quot;Shell&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;shell&quot;}\">mlaunch --launchsim bin\/Debug\/net*\/*\/*.app --device :v2:udid=56353D05-7DD5-40CD-8A97-35BC38AC0AB7 --wait-for-exit --stdout=$(tty) --stderr=$(tty) --argument --connection-mode --argument none '--setenv:DOTNET_DiagnosticPorts=127.0.0.1:9000,suspend'<\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>","protected":false},"excerpt":{"rendered":"<p>Vorbereitung Als Erstes musst du zwei &#8220;dotnet&#8221;-Tools installieren. iOS Verf\u00fcgbare Ger\u00e4te &amp; Simulatoren herausfinden Zuerst musst du ein passendes Ger\u00e4t ausw\u00e4hlen, mit welchen du deine .NET MAUI App profilen willst. Gib dazu folgenden Befehl auf deinem MAC ein. (Terminal) Anschlie\u00dfend erh\u00e4ltst du eine \u00dcbersicht der verf\u00fcgbaren Simulatoren. W\u00e4hle das gew\u00fcnschte Ger\u00e4t aus der Liste und&#8230;<\/p>","protected":false},"author":1,"featured_media":0,"parent":56640,"menu_order":1,"comment_status":"open","ping_status":"closed","template":"","meta":{"_featured":false,"_is_vendor_doc":"0","footnotes":""},"doc_tag":[],"class_list":["post-57988","docs","type-docs","status-publish","hentry"],"comment_count":0,"_links":{"self":[{"href":"https:\/\/ar3dp.de\/en\/wp-json\/wp\/v2\/docs\/57988","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ar3dp.de\/en\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/ar3dp.de\/en\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/ar3dp.de\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ar3dp.de\/en\/wp-json\/wp\/v2\/comments?post=57988"}],"version-history":[{"count":0,"href":"https:\/\/ar3dp.de\/en\/wp-json\/wp\/v2\/docs\/57988\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/ar3dp.de\/en\/wp-json\/wp\/v2\/docs\/56640"}],"prev":[{"title":"DotNet.Maui Entwicklungsumgebung einrichten","link":"https:\/\/ar3dp.de\/en\/docs\/programmieren\/dotnet-maui\/dotnet-maui-entwicklungsumgebung-einrichten\/","href":"https:\/\/ar3dp.de\/en\/wp-json\/wp\/v2\/docs\/56641"}],"wp:attachment":[{"href":"https:\/\/ar3dp.de\/en\/wp-json\/wp\/v2\/media?parent=57988"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/ar3dp.de\/en\/wp-json\/wp\/v2\/doc_tag?post=57988"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}