<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Debugging on Marko Apfel</title><link>http://blog.marko-apfel.de/tags/debugging/</link><description>Recent content in Debugging on Marko Apfel</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Tue, 14 Jul 2015 17:15:00 +0200</lastBuildDate><atom:link href="http://blog.marko-apfel.de/tags/debugging/index.xml" rel="self" type="application/rss+xml"/><item><title>F#, ArcGIS Runtime and error “Cannot create unknown type '{http://schemas.esri.com/arcgis/runtime/2013}MapView'”</title><link>http://blog.marko-apfel.de/posts/f-sharp-arcgis-runtime-and-error-cannot-create-unknown-type-http-schemas-esri-com-arcgis-runtime-2013-mapview/</link><pubDate>Tue, 14 Jul 2015 17:15:00 +0200</pubDate><guid>http://blog.marko-apfel.de/posts/f-sharp-arcgis-runtime-and-error-cannot-create-unknown-type-http-schemas-esri-com-arcgis-runtime-2013-mapview/</guid><description>&lt;p&gt;By playing with F# and ArcGIS Runtime I tried to re-create a sample C# project with F#.&lt;/p&gt;
&lt;p&gt;For the WPF part I used the Visual Studio extension &lt;a href="https://visualstudiogallery.msdn.microsoft.com/e0907c99-bb04-4eb8-9692-9333d5ff4399"&gt;F# Empty Windows App (WPF)&lt;/a&gt; and &lt;a href="https://visualstudiogallery.msdn.microsoft.com/ad49fd5c-930c-4fe6-a30e-2d0d6778c565"&gt;F# Windows App (WPF, MVVM)&lt;/a&gt; the NuGet packages &lt;a href="https://www.nuget.org/packages/FSharp.ViewModule.Core/"&gt;FSharp.ViewModule.Core&lt;/a&gt; and &lt;a href="https://www.nuget.org/packages/FsXaml.Wpf/"&gt;FsXaml for WPF&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Error while trying to run project: Unable to start program ‘…’. The endpoint was not reachable.</title><link>http://blog.marko-apfel.de/posts/error-while-trying-to-run-project-unable-to-start-program-the-endpoint-was-not-reachable/</link><pubDate>Tue, 20 Mar 2012 10:55:00 +0100</pubDate><guid>http://blog.marko-apfel.de/posts/error-while-trying-to-run-project-unable-to-start-program-the-endpoint-was-not-reachable/</guid><description>&lt;p&gt;During playing with Entity Framework I got the error:&lt;/p&gt;
&lt;p&gt;“Error while trying to run project: Unable to start program ‘&amp;rsquo;…’.
The endpoint was not reachable.&lt;/p&gt;
&lt;p&gt;&lt;a href="image_4.png"&gt;&lt;figure&gt;
 &lt;img src="http://blog.marko-apfel.de/posts/error-while-trying-to-run-project-unable-to-start-program-the-endpoint-was-not-reachable/image_thumb_1.png" alt="image" loading="lazy" decoding="async" title="image"&gt;&lt;figcaption&gt;image&lt;/figcaption&gt;&lt;/figure&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;By running the project in Visual Studio. Outside VS were no problems.&lt;/p&gt;</description></item><item><title>xUnit runner eats system diagnostic output</title><link>http://blog.marko-apfel.de/posts/xunit-runner-eats-system-diagnostic-output/</link><pubDate>Mon, 07 Nov 2011 13:28:00 +0100</pubDate><guid>http://blog.marko-apfel.de/posts/xunit-runner-eats-system-diagnostic-output/</guid><description>&lt;h2 id="problem"&gt;Problem&lt;/h2&gt;
&lt;p&gt;When using xUnit and constructs like Debug.WriteLine the &lt;em&gt;DbgView&lt;/em&gt;-tool does not show the written output anymore.&lt;/p&gt;
&lt;h2 id="solution"&gt;Solution&lt;/h2&gt;
&lt;p&gt;Add a new Listener – for example:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-cs" data-lang="cs"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;Debug&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Listeners&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Add&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="n"&gt;DefaultTraceListener&lt;/span&gt;&lt;span class="p"&gt;());&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item><item><title>Remote Debugging mit Visual Studio</title><link>http://blog.marko-apfel.de/posts/remote-debugging-mit-visual-studio/</link><pubDate>Tue, 27 Apr 2010 09:38:00 +0200</pubDate><guid>http://blog.marko-apfel.de/posts/remote-debugging-mit-visual-studio/</guid><description>&lt;p&gt;Das Debuggen einer Applikation auf einem Rechner ohne installiertes Visual Studio gestaltet sich mit dem Remote Debugging Monitor relativ einfach.&lt;/p&gt;
&lt;p&gt;Derartige Konstellationen ergeben sich insbesondere dann, wenn ein Debugging von Anwendungen in Produktiv-Umgebungen notwendig wird.&lt;/p&gt;</description></item><item><title>Tracing des BizTalk Adapter for mySAP Business Suite</title><link>http://blog.marko-apfel.de/posts/tracing-des-biztalk-adapter-for-mysap-business-suite/</link><pubDate>Wed, 21 Jun 2006 15:30:00 +0200</pubDate><guid>http://blog.marko-apfel.de/posts/tracing-des-biztalk-adapter-for-mysap-business-suite/</guid><description>&lt;p&gt;Im Zusammenhang mit verlorenengegangenen Werten innerhalb des mySAP-Adapters war es interessant das Verhalten genauer zu protokollieren.&lt;/p&gt;
&lt;p&gt;Dafür gibt es Trace-Variablen.&lt;/p&gt;
&lt;h2 id="umgebungsvariablen-setzen"&gt;Umgebungsvariablen setzen&lt;/h2&gt;
&lt;p&gt;Man lege folgende 3 System-Umgebungsvariablen an&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-cmd" data-lang="cmd"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;CPIC_TRACE=1
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;RFC_TRACE=1
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;RFC_TRACE_DIR=C:\Tracedir
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Nach einem Reboot werden vom mySAP-Adapter Low-Level-Informationen in verschiedene Files im oben angegebenen Verzeichnis geschrieben.&lt;/p&gt;</description></item><item><title>Error: EXECUTE permission denied on object 'sp_sdidebug'</title><link>http://blog.marko-apfel.de/posts/error-execute-permission-denied-on-object-sp-sdidebug/</link><pubDate>Fri, 05 May 2006 09:00:00 +0200</pubDate><guid>http://blog.marko-apfel.de/posts/error-execute-permission-denied-on-object-sp-sdidebug/</guid><description>&lt;p&gt;Beim Debugging wird der Fehler:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-txt" data-lang="txt"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&amp;#34;EXECUTE permission denied on object &amp;#39;sp_sdidebug&amp;#39;, database &amp;#39;master&amp;#39;, owner &amp;#39;dbo&amp;#39;.&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;geworfen.&lt;/p&gt;
&lt;p&gt;Komplette Fehlermeldung:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-txt" data-lang="txt"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;[System.Data.SqlClient.SqlException] = 
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;{&amp;#34;EXECUTE permission denied on object &amp;#39;sp_sdidebug&amp;#39;, database &amp;#39;master&amp;#39;, owner &amp;#39;dbo&amp;#39;.&amp;#34;}
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Ein Deaktivieren der Checkbox &amp;ldquo;Enable SQL Server debugging&amp;rdquo; brachte keine Besserung.&lt;/p&gt;</description></item></channel></rss>