-
Notifications
You must be signed in to change notification settings - Fork 76
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
coyote replay --break does not wait for debugger to attach #47
Comments
I just tried this on my windows machine and I get a prompt to attach the debugger. Perhaps mac requires a different API to launch (or enable) the debugger? @lovettchris any ideas? |
You can try a workaround. You can go edit the source code of HelloWorldTasks and insert a breakpoint yourself at the beginning of the test (I usually do |
Thanks for answering @akashlal . Just tried what you suggested and is also not working. I asked in the |
Ok, the issue then is to figure out how to attach the debugger from dotnet on mac. If you find out the answer, let us know so we can implement the same in coyote. |
Looks like from the runtime thread Debugger.Launch is not supported, so what you can do instead is "start" coyote replay in your debugger. I have not use VS on the Mac, but on Windows I can create any random console app and change the "Debug" tab to tell the debugger to launch something else instead, namely, dotnet.dll, with the command line arguments of |
Thanks @lovettchris . The approach on launching coyote from VS worked. There's no support for |
fix info about rewriting json file. add troublshooting for --break on MacOS and Linux based on [github issue 57](#47).
Hi Coyote team!
I'm playing around with the Coyote toolset with the
HelloWorldTasks
example. I want to try thecoyote replay
tool. I'm trying the following:1- Run
coyote test ./obj/Release/netcoreapp3.1/osx-x64/HelloWorldTasks.dll --iterations 100
to generate the faulty trace2- Run
coyote replay ./obj/Release/netcoreapp3.1/osx-x64/HelloWorldTasks.dll ./obj/Release/netcoreapp3.1/osx-x64/Output/HelloWorldTasks.dll/CoyoteOutput/HelloWorldTasks_0_1.schedule --break
to replay the program with that trace3- Expect that the coyote runtime will wait for a debugger to attach until it starts reproducing it. Not sure of this, that's my assumption of how it sould work
Any advice on how to use it? (I'm working with MacOS if it help in some way)
The text was updated successfully, but these errors were encountered: