-
Notifications
You must be signed in to change notification settings - Fork 50
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
Debugging doesn't work with iris version 2024.2 #1437
Comments
My guess is that your local IIS doesn't yet support WebSockets. |
Thanks @gjsjohnmurray your guess was correct!
Thanks again |
How does the server name Are you able to debug a simple HelloWorld.mac routine? |
@syonip I wasn't able to reproduce this issue. Are you still experiencing it? |
Yes, the debugger runs the code but breakpoints are not hit. |
@syonip Since I can't reproduce this, I think this is caused my some sort of configuration error. Are you using a code-workspace file? If so, can you send it to me? Also, how are you opening the files that you're trying to debug? |
Yes, here is the code-workspace.json:
and here is settings.json:
|
@syonip Thanks, that what I thought the workspace would be. I think this is caused by you having the breakpoint set in the file in one workspace folder, but debugging in the other. I strongly recommend you do not mix server-side and client-side folders in one workspace to avoid confusions like this. You can also easily overwrite your changes by having two "sources of truth". You should open just your local folder as the workspace instead of using a |
Thanks @isc-bsaviano, I opened the folder without workspace and now debugging is working.
I still don't fully understand how to work with a local git-tracked version of the files, but debugging is working so thanks again. |
@syonip I'm glad your debugging is working, but I'd still like to help clear up your confusion. Are you trying to edit code directly on the server like Studio (server-side editing), or are you trying to edit code on your local file system (client-side editing)? If the former, you should only have folders with an |
Optimally, I would like to work with local files as these can be tracked by git. I think this would be an improvement over the current server-editing mode of work. |
@syonip Yes, that's supported! All you have to do is open your local folder in VS Code. You don't need a |
I implemented your suggestions and it's working perfectly from local git-tracked folder, including debugging. |
Hello,
I'm trying to debug objectscript ClassMethods in VSCode, but nothing happens when clicking the Debug button over the ClassMethod.
This was working with previous versions - tested with IRIS 2020.
This is the server configuration:
Editing and compiling ObjectScript is working:
I checked the vscode devtools and saw an error every time I click debug:
Thanks.
$ZV: IRIS for Windows (x86-64) 2024.2 (Build 247U) Tue Jul 16 2024 09:57:03 EDT
The text was updated successfully, but these errors were encountered: