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: [python] debugging python project cause frozen #877

Merged
merged 1 commit into from
Aug 8, 2024

Conversation

LiHua000
Copy link
Contributor

@LiHua000 LiHua000 commented Aug 8, 2024

When multiple applications are open, debugging the Python project causes the applications to freeze.

Log: as title

bug: https://pms.uniontech.com/bug-view-267559.html

When multiple applications are open, debugging the Python project causes the applications to freeze.

Log: as title

bug: https://pms.uniontech.com/bug-view-267559.html
@deepin-ci-robot
Copy link

deepin pr auto review

关键摘要:

  • PythonDebug::requestDAPPort函数中,参数ppid被错误地用于替换uuid,这可能会导致功能上的错误。
  • PythonDebugger::slotReceiveClientInfo槽函数中,对ppid的检查逻辑可能不正确,因为它仅检查当前进程的父进程是否与传入的ppid相等。这可能不是预期的行为,应该检查ppid是否与启动调试器的进程的ID匹配。

是否建议立即修改:

@deepin-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: deepin-mozart, Kakueeen, LiHua000

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@deepin-ci-robot deepin-ci-robot merged commit 1f47bc9 into linuxdeepin:master Aug 8, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants