You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm porting a project from cpp to odin, which contains files that are several thousand lines long. My process for doing so is regex replacing parts of the cpp code into the odin semantics.
I was using ols (vscode) for the verry first (small) file, but after opening one of the larger ones it just silently crashes and subsequently fails to restart.
Ive tried the stable version, the nightly version and even built ols from master a9853fc, none of it changed anything. I also don't get any debug output (afaict), not even using the debug build of ols.
Here is the output from vscode:
[Info - 5:42:34 AM] Connection to server got closed. Server will restart.
true
[Info - 5:42:35 AM] Connection to server got closed. Server will restart.
true
[Info - 5:42:35 AM] Connection to server got closed. Server will restart.
true
[Info - 5:42:35 AM] Connection to server got closed. Server will restart.
true
[Info - 5:42:35 AM] Connection to server got closed. Server will restart.
true
[Error - 5:42:35 AM] The Odin Language Server Client server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.
Its not reasonable to attach the source file (because of the length), but if you can tell me how to get more debug output / logs i can try to provide that.
Since it presumably immediately crashes i also failed to attach a debugger, and this is where i just submit this issue as is.
The text was updated successfully, but these errors were encountered:
You can open up an odin file that doesn't crash. Attach the debugger. Open the file that crashes
good call, as you can tell form the timestamps it was quite early for me.
It appears to be a stack overflow in the odin tokenizer. I'm guessing that is outside your direct control, but maybe you can at least figure out some more details.
Here you also have the broken file, maybe it helps in some way: imgui.zip
I'm porting a project from cpp to odin, which contains files that are several thousand lines long. My process for doing so is regex replacing parts of the cpp code into the odin semantics.
I was using ols (vscode) for the verry first (small) file, but after opening one of the larger ones it just silently crashes and subsequently fails to restart.
Ive tried the stable version, the nightly version and even built ols from master a9853fc, none of it changed anything. I also don't get any debug output (afaict), not even using the debug build of ols.
Here is the output from vscode:
Its not reasonable to attach the source file (because of the length), but if you can tell me how to get more debug output / logs i can try to provide that.
Since it presumably immediately crashes i also failed to attach a debugger, and this is where i just submit this issue as is.
The text was updated successfully, but these errors were encountered: