Skip to content
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

Lesson 2.1 - No longer throws an exception in initial state #310

Open
sambeckingham opened this issue Jul 28, 2020 · 3 comments
Open

Lesson 2.1 - No longer throws an exception in initial state #310

sambeckingham opened this issue Jul 28, 2020 · 3 comments

Comments

@sambeckingham
Copy link

Lesson 2.1 begins with the scenario that the application fails due to cross-thread operations. However, using .NET 4.5 and Akka 1.1.1, (current state of master), this exception is no longer thrown. How come Akka no longer has an issue with this scenario? Is there another way we can recreate this error for the purposes of education on dispatchers, or does the lesson need updating to a new format to better explain?

@paulspencerwilliams
Copy link

Yeah, I'm seeing the same with .Net Core 3.1 and Akka 1.4.9.

@Winsto
Copy link

Winsto commented Mar 2, 2021

I get mixed results for this. Opening the initial state Unt2-DoThis (as in the downloaded zip from the paid for bootcamp package), which has Akka 1.1.1 I DO get the cross thread exception when running in Visual Studio 2019, but DO NOT when running in Rider. No that doesn't make sense to me either, but thought I'd comment FWIW.

@james-world
Copy link

In Rider, go to Settings>Build, Execution, Deployment and in the Exceptions section tick "Break on user-unhandled exceptions". See Rider documentation on this here. Then the debugger will stop execution on this exception.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants