<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to codesys "profiler" object reference not set to an instance of an object</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ed74c96815/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ed74c96815/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/ed74c96815/</id><updated>2023-01-11T09:21:43.834000Z</updated><subtitle>Recent posts to codesys "profiler" object reference not set to an instance of an object</subtitle><entry><title>codesys "profiler" object reference not set to an instance of an object</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ed74c96815/?limit=25#a841" rel="alternate"/><published>2023-01-11T09:21:43.834000Z</published><updated>2023-01-11T09:21:43.834000Z</updated><author><name>aguado</name><uri>https://forge.codesys.com/u/aguado/</uri></author><id>https://forge.codesys.com387047ace3decba44b9c7211de6b8bc74a29b1a7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Any help here? Is this the right place to ask such a question?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>codesys "profiler" object reference not set to an instance of an object</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ed74c96815/?limit=25#9ce7" rel="alternate"/><published>2023-01-04T13:50:55.571000Z</published><updated>2023-01-04T13:50:55.571000Z</updated><author><name>aguado</name><uri>https://forge.codesys.com/u/aguado/</uri></author><id>https://forge.codesys.comfc83808de2406e6a67089d81e8bbc609bdd64e40</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I want to use the Codesys Profiler to check my code coverage. Whenever I do so and connect to my PLC (Win x64) I will get an error "object reference not set to an instance of an object". My application is running normally, but I am not able to see anything in the Profiler "Online" Tab.&lt;/p&gt;
&lt;p&gt;I tried the same with a demo project ( &lt;a href="https://1drv.ms/u/s!Ag6VxIScKS7qhPh2j3BAWE8DZ8JWdw?e=QtP7eY" rel="nofollow"&gt;https://1drv.ms/u/s!Ag6VxIScKS7qhPh2j3BAWE8DZ8JWdw?e=QtP7eY&lt;/a&gt; ) and it works just fine. I am able to see the files in the "Online" Tab and there are no error messages.&lt;/p&gt;
&lt;p&gt;The error message hints to some kind of pointer issue. In my code, I am creating some objects dynamically, using the NEW() operator.&lt;/p&gt;
&lt;p&gt;Is it possible, that the Code Coverage Tool is not able to handle dynamic objects? If so, will this be fixed? &lt;br/&gt;
Are there any other ideas on what the problem might be?&lt;/p&gt;
&lt;p&gt;Thanks for our help,&lt;/p&gt;
&lt;p&gt;Till&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>