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

SimpleComponents Sample with .BuildCSVFile() Fails #21

Open
ToddThomson opened this issue Jan 5, 2019 · 1 comment
Open

SimpleComponents Sample with .BuildCSVFile() Fails #21

ToddThomson opened this issue Jan 5, 2019 · 1 comment

Comments

@ToddThomson
Copy link

SME.ReadViolationException: 'Attempted to read the signal Value on the bus SimpleComponents.SimpleFifoBuffer`1+IInputBus[[System.Byte, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] before the signal was set'

Commenting out the extension allows the sample to run.

@kenkendk
Copy link
Owner

kenkendk commented Jan 8, 2019

I think this is caused by the tracer trying to read the signal value before it was set.
With Mono and VS Studio / MonoDevelop the debugger did not stop on this exception because it was handled. With VS Code, the debugger stops unless you set "justMyCode": "false" in launch.json.

I have just pushed an update to the dotnet core branch that removes this exception, which greatly speeds up the simulation as well.

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