Skip to content
Charlie Jiang edited this page Dec 11, 2016 · 2 revisions

Localization

Error Handling

We DON'T use exception to notify or handle errors. As an alternative, most of the APIs return Error Codes to report errors.
However, you're still able to use exceptions in your codes but please be careful to catch all the exceptions you thrown. NERvGear does not catch any exceptions, if one exception is thrown through your codes, program might crash directly.
We highly recommend that each interface method should return a long type error code following the COM Error Codes standard.

Debugging

First, we highly recommend to write and debug plugins in NERvSDK instead of products of NERvGear(such as SAO Utils). For Microsoft Visual Studio users, the simplest way to debug is to attach on NERvSDK process. Just click "DEBUG"->"Attach to process" and choose "NERvSDK.exe". If your plugin used .net Freamwork via CLI, CLR or something, you'd better to set "Attach to" to Managed(xx version) and Native code. Else, you must set it to "Native code".

Examples

FAQ