-
Notifications
You must be signed in to change notification settings - Fork 234
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
xsbug unable to open source files on a different Windows drive letter #882
Comments
Thank you for the report! This is not the first I've heard of unexpected behaviors when working with network mounts on Windows. I'll take a look next week and see if there's a straightforward fix. |
Also just discovered I can no longer open Preferences. With the source set to Clearing the |
Additional information:
Summary of issues / conditions:
|
One more...
Summary of issues / conditions:
|
Checking in to see if there is a way to move this forward? It's really painful not having source (or, if I do, not being able to access the preferences page which is the only way I know of to flip on/off the exceptions settings). If it's not high on the priority queue, I can put some hours into this but would appreciate any pointers to avoid crawling the source from scratch. |
One thing I've found is the preferences stored in the Windows registry for "mappings": [
{
"alien": true,
"locale": "A:",
"remote": ""
}
], to "mappings": [
{
"alien": true,
"locale": "A:/",
"remote": "/"
}
], (Note adding of '/' to the |
FYI – we'll have a tentative fix posted for this later today. The root cause isn't related to Windows or the drive letter, but to when the remapping extends to the root of the path. From what we can test, it is better. But, your set-up may have different paths. If the problem persists in some form, what would help the most is to have the unmapped and mapped paths. |
@cmidgley, did you have a chance to try this? |
No, sorry. My |
Build environment: Windows for
xsbug
and Linux for building firmwareTarget device: esp32/heltec_lora-32
Description
When using
xsbug
on Windows, upon a breakpoint, the locate pane appears to find the source file. Browsing to the source on a different (non-C:) drive letter results in an invalid path (a:a:/path/to/file
) with the drive letter duplicated. If thexsbug
registry is hand-edited to remove the extraa:
, the file correctly loads.Steps to Reproduce
xsbug
from registry so all mappings are removeda:
)a:a:/path...
.../xsbug/preferences/main
registry key's value to have just onea:/path
The text was updated successfully, but these errors were encountered: