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

Chapter 04 JobTree CREATE_BREAKAWAY_FROM_JOB flag causes assert fail with Visual Studio Debug #5

Open
oiu850714 opened this issue Jun 20, 2020 · 1 comment

Comments

@oiu850714
Copy link

Hi, when I build and run the JobTree project in Chapter 04(both select Debug -> Start Debugging or Debug -> Start Without Debugging), this assertion failed.

Environment

  • Visual Studio Community 2019(16.6.2)
  • Windows 10 2004(10.0.19041.329)

It looks like the CREATE_BREAKAWAY_FROM_JOB causes this situation when running executable directly in Visual Studio. (Maybe jobs/processes under VS job cannot have this flag?)
If running executable directly(e.g. clicking in explorer), the assert successes.

Thank you.
(sorry for my poor English)

@zer0cat
Copy link

zer0cat commented Sep 11, 2020

Visual Studio creates it own job object, maybe problem is here.
my english is bad too.

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

2 participants