<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>MonicaBoris's WebLog : Debugging</title><link>http://blogs.technet.com/monicaboris/archive/tags/Debugging/default.aspx</link><description>Tags: Debugging</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Loading debug symbols when remote debugging: native vs managed </title><link>http://blogs.technet.com/monicaboris/archive/2004/02/16/74520.aspx</link><pubDate>Tue, 17 Feb 2004 06:03:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:74520</guid><dc:creator>MonicaBoris</dc:creator><slash:comments>3</slash:comments><comments>http://blogs.technet.com/monicaboris/comments/74520.aspx</comments><wfw:commentRss>http://blogs.technet.com/monicaboris/commentrss.aspx?PostID=74520</wfw:commentRss><description>&lt;P&gt;I have noticed that a lot of people are confused when it comes to symbol loading while debugging an application on a remote machine. Basically there are three cases:&lt;/P&gt;
&lt;P&gt;1. Debugging native code&lt;/P&gt;
&lt;P&gt;Let's say you are attaching to a native app running on Machine A from a VS.NET debugger running on Machine B. In this case, if you want to automatically load symbols for this application (or for a dll loaded by it) the symbols (i.e. the corresponding .pdb file) needs to exist on the debugger machine (i.e. Machine &amp;nbsp;B).&lt;/P&gt;
&lt;P&gt;A common scenario here is when you have a symbol cache specified. This needs to be on the debugger machine.&lt;/P&gt;
&lt;P&gt;2. Debugging managed code&lt;/P&gt;
&lt;P&gt;Now let's say you are attaching to a managed app running on Machine A from a VS.NET debugger running on Machine B. In this case, if you want to automatically load symbols for this application (or for a dll loaded by it) the symbols (i.e. the corresponding .pdb file) needs to exist on the machine where the app is running&amp;nbsp;(i.e. Machine&amp;nbsp;&amp;nbsp;A). In otheer words, if you want to automatically load symbols from a symbol server, the sym server neds to be set up on Machine A and the cache directory needs to be on Machine A.&lt;/P&gt;
&lt;P&gt;3. Debugging mixed mode (interop)&lt;/P&gt;
&lt;P&gt;If you want to debug an app running on Machine A in mixed mode (native + managed) then, the symbol files for the native modules need to be on the debugger machine (Machine B) and the symbols for the managed modules need to be on Machine A.&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=74520" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/monicaboris/archive/tags/Debugging/default.aspx">Debugging</category></item><item><title>Having trouble debugging script in VS.NET?</title><link>http://blogs.technet.com/monicaboris/archive/2004/02/16/74459.aspx</link><pubDate>Tue, 17 Feb 2004 03:31:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:74459</guid><dc:creator>MonicaBoris</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/monicaboris/comments/74459.aspx</comments><wfw:commentRss>http://blogs.technet.com/monicaboris/commentrss.aspx?PostID=74459</wfw:commentRss><description>&lt;P&gt;Here is a whitepaper that could help you out:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.gotdotnet.com/team/csharp/learn/whitepapers/How%20to%20debug%20script%20in%20Visual%20Studio%20.Net.doc"&gt;http://www.gotdotnet.com/team/csharp/learn/whitepapers/How%20to%20debug%20script%20in%20Visual%20Studio%20.Net.doc&lt;/A&gt;&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=74459" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/monicaboris/archive/tags/Debugging/default.aspx">Debugging</category></item></channel></rss>