<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic There is no debug facility I in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Debug-Code-Stage/m-p/48642#M4149</link>
    <description>There is no debug facility I'm afraid. I suggestUse try/catchIntroduce a new, temporary number output called something like 'last known position'At strategic positions in the code add the line lkp += 1;Use the output value to try to figure out where the error is happening. Remove the output once the error is fixed</description>
    <pubDate>Mon, 23 Jan 2017 21:39:00 GMT</pubDate>
    <dc:creator>John__Carter</dc:creator>
    <dc:date>2017-01-23T21:39:00Z</dc:date>
    <item>
      <title>Debug Code Stage</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Debug-Code-Stage/m-p/48641#M4148</link>
      <description>Hey Guys,

I have a Code stage which throws a exception "Object reference not set to an instance of an object."
If i run my code in Visual Studio, there is no exception, I i run the same code in BP I get the mentioned exception.
Unfortunately I cannot figure out at which point the exception is thrown.
Is there a way to Debug C# code directly within BP or get at least a exception with more details?

Thanks
Sandro</description>
      <pubDate>Mon, 23 Jan 2017 19:04:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Debug-Code-Stage/m-p/48641#M4148</guid>
      <dc:creator>SandroPaetzold</dc:creator>
      <dc:date>2017-01-23T19:04:00Z</dc:date>
    </item>
    <item>
      <title>There is no debug facility I</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Debug-Code-Stage/m-p/48642#M4149</link>
      <description>There is no debug facility I'm afraid. I suggestUse try/catchIntroduce a new, temporary number output called something like 'last known position'At strategic positions in the code add the line lkp += 1;Use the output value to try to figure out where the error is happening. Remove the output once the error is fixed</description>
      <pubDate>Mon, 23 Jan 2017 21:39:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Debug-Code-Stage/m-p/48642#M4149</guid>
      <dc:creator>John__Carter</dc:creator>
      <dc:date>2017-01-23T21:39:00Z</dc:date>
    </item>
  </channel>
</rss>

