1. Richard Donagrandi
  2. SnapDevelop
  3. Thursday, 15 February 2024 17:31 PM UTC

How does one actually do this? ... I followed the instructions in the help file, and SnapDevelop opens with the debug window when debugging, but the window itself doesn't give any information beyond what components loaded. The code file doesn't open, and it doesn't stop on any breakpoints I've set. You can't set watch points. It doesn't show what variables or objects are in memory...  So it opens in SnapDevelop but I don't have a clue what I can do in there.

This is using PB 2022 R2, SnapDevelop, and a .NET Assembly that I imported with the .DLL Importer utility. The assembly is just a strong-named assembly that technically could also be called as an OLEObject, but I imported it with the .DLL Importer utility instead. It's used for TCP Stream communications with various third party companies our application communicates with, and works great... I'm adding some functionality, but getting an odd error that isn't reporting, and I'm trying to debug it... 

Richard Donagrandi Accepted Answer Pending Moderation
  1. Thursday, 15 February 2024 20:36 PM UTC
  2. SnapDevelop
  3. # 1

When I view the application properties in Visual Studio 2022, it shows as .NET Framework 4.8.  When I view the application properties in SnapDevelop, the target framework is blank and the pull down does not populate.

Comment
  1. Francisco Martinez @Appeon
  2. Thursday, 15 February 2024 21:36 PM UTC
Since it's a .NET Framework dll I suggest editing the DLL's NVO, and on the of_createondemand function look for "LoadWithDotNet" and replace it with "LoadWithDotNetFramework". Try and see if with this you can debug
  1. Helpful
  1. Richard Donagrandi
  2. Tuesday, 5 March 2024 23:03 PM UTC
I had already done this. I still can't debug my dll.
  1. Helpful
There are no comments made yet.
Richard Donagrandi Accepted Answer Pending Moderation
  1. Thursday, 15 February 2024 18:41 PM UTC
  2. SnapDevelop
  3. # 2

Yes. I already did that.

Comment
  1. Francisco Martinez @Appeon
  2. Thursday, 15 February 2024 19:44 PM UTC
Also, what's the target platform/framework of that DLL?
  1. Helpful
There are no comments made yet.
Francisco Martinez @Appeon Accepted Answer Pending Moderation
  1. Thursday, 15 February 2024 17:54 PM UTC
  2. SnapDevelop
  3. # 3

Hi Richard,

 

You need to make sure the DLL you're attempting to debug was compiled with the Debug configuration, otherwise you will not be able to step into it.

 

Edit: Also, what's the target platform/framework of that DLL?

 

Regards,
Francisco

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.