Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

simple example crashes #33

Open
John-Colvin opened this issue Aug 11, 2016 · 1 comment
Open

simple example crashes #33

John-Colvin opened this issue Aug 11, 2016 · 1 comment

Comments

@John-Colvin
Copy link

/// some function
void foo() { }

void bar()
{
    foo();
}

:DUddoc with the cursor on the call to foo causes this error:

Error detected while processing function dutyl#displayDDocForSymbolUnderCursor[10]..5[5]..<SNR>42_runDCDOnBufferBytePosition[1]..<SNR>42_runDCDOnBuffer:
line    3:
E605: Exception not caught: object.Exception@src/common/messages.d(188): Server closed the connection, 0 bytes received^@----------------^@4   dcd-client              
            0x000000010a1c72cb common.messages.AutocompleteResponse common.messages.getResponse(std.socket.Socket) + 359^@5   dcd-client                          0x000
000010a1c5804 _Dmain + 5868^@6   dcd-client                          0x000000010a21764b D2rt6dmain211_d_run_mainUiPPaPUAAaZiZ6runAllMFZ9__lambda1MFZv + 39^@7   dcd-cli
ent                          0x000000010a21757f void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).tryExec(scope void delegate()) + 35^@8   dc
d-client                          0x000000010a2175f0 void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).runAll() + 44^@9   dcd-client         
                 0x000000010a21757f void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).tryExec(scope void delegate()) + 35^@10  dcd-client    
                      0x000000
@idanarye
Copy link
Owner

Weird - it works perfectly when I try it... But it looks like a server-side error. Could you try running dcd-server in a console and see if it prints and error messages?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants