When searching for debugger, ignore directory names

RESOLVED FIXED

Status

Testing
General
RESOLVED FIXED
8 years ago
8 years ago

People

(Reporter: Jesse Ruderman, Assigned: Jesse Ruderman)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

8 years ago
Created attachment 422278 [details] [diff] [review]
patch

When I try to use valgrind with automation.py, searchPath can find ~/valgrind/ (a directory) rather than /usr/local/bin/valgrind (an executable file).  Then automation.py tries to execute a directory, and I get a confusing error message about permissions.

Requesting review from jgriffin because he added this code (in bug 521457).
Attachment #422278 - Flags: review?(jgriffin)
Comment on attachment 422278 [details] [diff] [review]
patch

Looks good, thanks.
Attachment #422278 - Flags: review?(jgriffin) → review+
(Assignee)

Comment 2

8 years ago
http://hg.mozilla.org/mozilla-central/rev/8ca13657839c
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.