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

Fix cppdbg configuration (VSC-778) #555

Merged
merged 1 commit into from
Oct 26, 2021
Merged

Conversation

rdancer
Copy link
Contributor

@rdancer rdancer commented Oct 22, 2021

The cppdbg config lacked the hardware watchpoint limit command that while helpfully listed in the required command listing nevertheless was missing from the actual config code.

Tested and it works.

Note that the espidf config is still broken and does not work.

The cppdbg config lacked the hardware watchpoint limit command that while helpfully listed in the required command listing nevertheless was missing from the actual config code.
@brianignacio5
Copy link
Collaborator

brianignacio5 commented Oct 25, 2021

Hey @rdancer thanks for your PR.

You mention that the espidf config is still broken and does not work. Can you open an issue with the errors you are facing? I've tested the espidf config and works for most cases.

@github-actions github-actions bot changed the title Fix cppdbg configuration Fix cppdbg configuration (VSC-778) Oct 25, 2021
@brianignacio5 brianignacio5 merged commit c3a1796 into espressif:master Oct 26, 2021
@rdancer
Copy link
Contributor Author

rdancer commented Oct 26, 2021

@brianignacio5

The mode is "manual", which means that it just doesn't work out of the box. Even after fixing the mode to "auto", and changing the debugPort back to default, and adding the max breakpoints limit, it still somehow does not load symbols.

Screenshot 2021-10-26 at 13 19 02

Screenshot 2021-10-26 at 13 42 54

Can you open an issue

It seems I can only open PRs, not issues.

@brianignacio5
Copy link
Collaborator

What is the openOCD output when using the mode: auto. Look at menu View -> Output and choose OpenOCD from the dropdown.

Fields of launch.json are described in DEBUGGING documentation. If you are using mode manual, the extension will not run debug adapter and openOCD. The extension will just try to connect to debugPort for debug adapter and to openOCD default port. Is the application offset correct ?

Also, did you select the proper serial port in your project ?

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

Successfully merging this pull request may close these issues.

2 participants