libiec61850 icon indicating copy to clipboard operation
libiec61850 copied to clipboard

Issues in Debugging sv_publisher sv_subscriber examples using Eclipse

Open faheemahmed21 opened this issue 4 years ago • 2 comments

I have used the sv_publihser and sv_subscriber codes given in the examples. I am trying to run these codes in Eclipse IDE to debug them. However, upon running these codes in Eclipse, these are not working. It always shows error:

Failed to create SV publisher

Please advise, if there is any configuration settings or arguments that are required for running these sv_publiser and sv_subscriber examples in Eclipse.

faheemahmed21 avatar Mar 09 '21 17:03 faheemahmed21

SV publisher or subscriber has to be run as root or with capabilities cap_sys_admin and cap_net_raw

mzillgith avatar Mar 09 '21 22:03 mzillgith

Thank you for your response. Kindly correct me if I am wrong. As per my understanding, " run as root or with capabilities cap_sys_admin and cap_net_raw" these capabilities can be used when file is run at Linux terminal. However, I am using Eclipse for debugging the sv_publihser file. When the sv_publisher is run in Eclipse, the program doesn't create sv_publisher, rather shows the message: Failed to create SV publisher

Is sv_publihser can be run in Eclipse? Is there any sort of settings that are required to run sv_publihser in Eclipse?

faheemahmed21 avatar Mar 14 '21 16:03 faheemahmed21