Debug Code Stage
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
23-01-17 07:04 PM
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
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
23-01-17 09:39 PM
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
