Announcement

Collapse
No announcement yet.

How do you debug a multiple instance plugin

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • mnsandler
    replied
    Thanks for the response.

    maybe i'm missing something. With the settings i have above, aren't all the instances running out of the same exe? so i shouldn't have to connect to anything if i start the plugin via vs15 and just add instances via the plugin manage page

    Leave a comment:


  • bsobel
    replied
    I believe you have to attach to the process, so if you want to debug say startup you'll need to put in a sleep loop (usually in a debug build) so you have a chance to connect to it.

    Leave a comment:


  • mnsandler
    started a topic How do you debug a multiple instance plugin

    How do you debug a multiple instance plugin

    specifically i would like to debug the second instance

    I'm using VS15 with VB.net

    i have the following plugin calls:

    Public Function SupportsMultipleInstancesSingleEXE() As Boolean Implements HomeSeerAPI.IPlugInAPI.SupportsMultipleInstancesSingleEXE
    Return False ' True requires the plugin to manage the the instances
    End Function

    Public Function SupportsMultipleInstances() As Boolean Implements HomeSeerAPI.IPlugInAPI.SupportsMultipleInstances
    Return True
    End Function
Working...
X