-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
Breakpoints are not hit in xlOil Python Debugging #109
Comments
Thank you for the explanation. I’m unsure how to integrate the Python file with this empty C++ project. What should the complete project structure look like? How should I add my Python scripts properly and set breakpoints? |
I don't know how to solve this issue, but you can use |
You don't need to add anything to the project, it's just there to launch
the app. You can open the files you want by navigating to them in the
IDE's Open dialog, then click to add breakpoints as normal
…On Mon, 12 Aug 2024, 07:14 jxbean, ***@***.***> wrote:
Thank you for the explanation. I’m unsure how to integrate the Python file
with this empty C++ project. What should the complete project structure
look like? How should I add my Python scripts properly and set breakpoints?
—
Reply to this email directly, view it on GitHub
<#109 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFOUG4DFQ7GLTHXTRSKY45LZRBABVAVCNFSM6AAAAABLA5Q4CWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOBTGEZDKOJUGM>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Thanks again. It seems that there is a requirement for the python version, and 3.9 version is recommended and needs to install debugging symbols for Python interpreters in Visual Studio. It works for me now. |
Btw nice trick @keithalewis ! |
Setting the 'launch.json' file with the 'Attach using Process Id' method as below in vscode works, and Python versions higher than 3.9 works fine. {
"version": "0.2.0",
"configurations": [
{
"name": "Python Debugger: Attach using Process Id",
"type": "debugpy",
"request": "attach",
"processId": "${command:pickProcess}",
"connect": {
"host": "127.0.0.1",
"port": 5678
},
"justMyCode": true,
"pathMappings": [
{
"localRoot": "${workspaceFolder}",
"remoteRoot": "${workspaceFolder}"
}
]
}
]
} |
I have tried to set up debugging in VS Code and Visual Studio, but neither has been able to break at the breakpoint. Is there a more detailed tutorial on debugging? I saw some settings for debugging pyxll in PyCharm online and tried to set it up accordingly, but it didn't work.
The text was updated successfully, but these errors were encountered: