Re: [fpc-pascal] JSON RPC on Mac M1 fails

2022-03-09 Thread Michael Van Canneyt via fpc-pascal
On Thu, 10 Mar 2022, Hairy Pixels via fpc-pascal wrote: On Mar 9, 2022, at 10:48 PM, Michael Van Canneyt via fpc-pascal wrote: It breaks early on when sending the first message (initialize) which I register like this: JSONRPCHandlerManager.RegisterHandler('initialize', TInitial

Re: [fpc-pascal] JSON RPC on Mac M1 fails

2022-03-09 Thread Hairy Pixels via fpc-pascal
> On Mar 9, 2022, at 10:48 PM, Michael Van Canneyt via fpc-pascal > wrote: > >> It breaks early on when sending the first message (initialize) which I >> register like this: >> >> JSONRPCHandlerManager.RegisterHandler('initialize', TInitialize); > > So you get an exception here ? No th

Re: [fpc-pascal] JSON RPC on Mac M1 fails

2022-03-09 Thread Michael Van Canneyt via fpc-pascal
On Wed, 9 Mar 2022, Hairy Pixels via fpc-pascal wrote: I don’t know where to start debugging this yet but I found that compiling for the aarch64 target now breaks my Pascal language server which uses JSON RPC. It breaks early on when sending the first message (initialize) which I register li

[fpc-pascal] JSON RPC on Mac M1 fails

2022-03-09 Thread Hairy Pixels via fpc-pascal
I don’t know where to start debugging this yet but I found that compiling for the aarch64 target now breaks my Pascal language server which uses JSON RPC. It breaks early on when sending the first message (initialize) which I register like this: JSONRPCHandlerManager.RegisterHandler('in