Home Help Center

how to debug ice?

I can debug demo hello's client and server, but when I debug ice through
helloC, it produced errors, shown in the below:

firstly, I step by step debugged into hello source codes , when got to "properties->load("config");"
it turned out "PropertiesI.cpp:168: Ice::SyscallException:
N0Rcš[„v‡eöN0ion: û|ß~~b"

so, I changed"properties->load("config");" to
this time , when got to "communicator = Ice::initializeWithProperties(argc, argv, properties);"
it turned out :
D:\specification\ice\Ice-1.1.1\demo\Ice\hello\client.exe: error: exception in Ic
eSSL plug-in:
ConfigParser.cpp:189: IceSSL::ConfigParseException:
1 errors during parsing
ssl configuration file parse error
, line 0, column 0
Message An exception occurred! Type:RuntimeException, Message:The primary docu
ment entity could not be opened. Id=../../../certs/sslconfig.xml

PluginManagerI.cpp:200: Ice::PluginInitializationException:
plug-in initialization failed: failure in entry point `IceSSL:create'




  • marcmarc FloridaAdministrators, ZeroC Staff Marc LaukienOrganization: ZeroC, Inc.Project: The Internet Communications Engine ZeroC Staff
    Do you run the demo from the directory demo/Ice/hello? Otherwise the file ../../../certs/sslconfig.xml can not be found.

    You can modify the line below in config.all to use an absolute directory name if you like:


    Could be changed to:


    Then you can start the client and server from every directory you wish.
  • clrenclren Member
    Thanks! It works now.

    I changed
    to "IceSSL.Client.CertPath=D:/specification/ice/Ice-1.1.1/certs"
    previously. but I didn't modify "IceSSL.Server.CertPath".
    because I debuged ice through helloC,I thought it is independent of Server.

    I think I must look into the codes to find out how it works.
Sign In or Register to comment.