-
Notifications
You must be signed in to change notification settings - Fork 253
Chained multi core debug problem #1103
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
Comments
What we have may not be ideal for you but it is working the way it was designed and implemented. There are many scenarios to consider.
The
Maybe a totally different issue. The question is which context is liveWatch looking at? Need more details. Like I said, the sessions are so loosely coupled that individual windows don't even know about then and simply react to events they get -- and maybe an event is not being triggered of has the wrong information. About the debug toolbar not showing actual status -- not sure what this is all about. We don't update the debug toolbar -- VSCode does and it relies on status reported but the various sessions. There are also multiple debug toolbars. One that is global and one that is in the Stack Window. The ones in the Stack Window represents state more accurately. I forgot how the Global one updates and what it represents in a multi-session scenario. I thing it reflects the last stopped session. |
I am able to use chained configuration to debug multi core MCU, but i want to have two core PAUSE/CONTINUE synchronize, so i configured the CTI and then the two core can PAUSE/CONTINUE at the same time successfully, but the problems are:
Problem1:
when two debug session run to the entry point,
then i click CONTINUE for the parent debug session, two cores runs immediately, but the debug toolbar of children session still in PAUSE status, i expect it should changed to CONTINUE automatically.
Problem2:
I clicked CONTINUE in debug toolbar for two debug session manually firstly.
then i click PAUSE for the parent debug session, the two cores halt immediately, according to the behavior of Problem1, i expect the debug toolbar of children session still in CONTINUE, but it is PAUSE actually automatically,
i have no idea why.
Problem3:
when two debug session run to the entry point,
then i click CONTINUE for the parent debug session, the debug toolbar of children session still in PAUSE status,
the two cores run immediately.
Then i click PAUSE for the parent debug session, two cores halt, but the live watch view of children not up to date, still keep the initial status.
Looking forward for your reply.
The text was updated successfully, but these errors were encountered: