Open John-Colvin opened 8 years ago
/// some function void foo() { } void bar() { foo(); }
:DUddoc with the cursor on the call to foo causes this error:
:DUddoc
foo
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
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?
dcd-server
:DUddoc
with the cursor on the call tofoo
causes this error: