-
Notifications
You must be signed in to change notification settings - Fork 23
Create vscode debug environment #208
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
Conversation
Sometimes breakpoints are jumping a few lines up when debugging, could changing the |
Yes. |
.vscode/launch.json
Outdated
"name": "Debug cloe", | ||
"type": "cppdbg", | ||
"request": "launch", | ||
"program": "${workspaceFolder}/build/RelWithDebInfo/bin/cloe-engine", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RelWithDebInfo
is a variable we can't control.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would use CLOE_ENGINE
env variable to get the path to the used cloe-engine executable
abcf824
to
1e02a5c
Compare
523cffa
to
25c8196
Compare
I rebased on |
6c2435d
to
a544f9f
Compare
e7e0ea4
to
d672d71
Compare
89c2745
to
bfc2f6c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, lets go with this for now. I still don't like the missing final newline though. That will mess with other tools. Can you fix that for these too?
make configure
should be executed to get proper hintingmake clean
it should bemake configure CONAN_OPTIONS="-c tools.build:skip_test=1"
to disable the tests. (The build time is faster without running the tests)