Skip to content

Apple: Add ability to use Xcode debugger with OpenUSD #3598

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

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

slingthor
Copy link
Contributor

@slingthor slingthor commented Apr 15, 2025

Description of Change(s)

Exposes "PXR_SHARED_LIBRARY_LOCATION" to add the ability for Xcode debugger to debug OpenUSD.
N/A to unit test this

Fixes Issue(s)

Inability to debug OpenUSD with Xcode

Checklist

@jesschimein
Copy link
Collaborator

Filed as internal issue #USD-10904

(This is an automated message. See here for more information.)

@jesschimein
Copy link
Collaborator

/AzurePipelines run

@davidgyu
Copy link
Member

Hi Thor!

You should be able to accomplish this by setting the following environment vars in your Xcode scheme:

PYTHONPATH=/path/to/my_usd_install_dir/lib/python
PXR_PLUGINPATH_NAME=/path/to/my_usd_install_dir/lib/usd:/path/to/my_usd_install_dir/plugin/usd

Note that the second env var has two paths separated by a colon, and plugin discovery will search both paths.

@tallytalwar
Copy link
Contributor

/AzurePipelines run

2 similar comments
@tallytalwar
Copy link
Contributor

/AzurePipelines run

@jesschimein
Copy link
Collaborator

/AzurePipelines run

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.

4 participants