Skip to content

Debugging support for dynamic libraries (DLL) #43

@GeTechG

Description

@GeTechG

I installed the plugin via vscode. I added -lib hxcpp-debug-server to my build file and also specified -debug mode and the library compiled without problems, the only thing is that there are warnings.

 Creating library obj\lib\testASI.lib and object obj\lib\testASI.exp
c:\Users\User\.vscode\extensions\vshaxe.hxcpp-debugger-1.2.4\hxcpp-debug-server\hxcpp/debug/jsonrpc/Server. hx:20: characters 1-7 : Warning : (WDeprecatedEnumAbstract) `@:enum abstract` is deprecated in favor of `enum abstract`
c:\Users\User\.vscode\extensions\vshaxe.hxcpp-debugger-1.2.4\hxcpp-debug-server\hxcpp/debug/jsonrpc/Protocol. hx:21: characters 1-7 : Warning : (WDeprecatedEnumAbstract) `@:enum abstract` is deprecated in favor of `enum abstract`

I also created a debug config specifying the executable that handles my library, after running the debug the program seems to start, but it doesn't open and the slider infinitely waits for the debug. I can figure out that there are 2 exceptions, and it seems to be a message that failed to connect to the server. I tried to build an exe with the usual output to the console and there were no problems, so I can conclude that I am doing everything right. I would like to know if I'm doing something wrong or if debugging libraries in general is impossible?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions