החל מ-27 במרץ 2025, מומלץ להשתמש ב-android-latest-release
במקום ב-aosp-main
כדי ליצור תרומות ל-AOSP. מידע נוסף זמין במאמר שינויים ב-AOSP.
תיעוד מעקבים
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
אפשר לתעד עקבות במכשיר באמצעות Winscope או באמצעות פקודות של Android Debug Bridge (adb).
ב-Winscope אפשר לאחזר את העקבות האחרונים שנאספו ממכשיר במהלך הסשן הקודם. התכונה הזו שימושית במיוחד כשנתקלים בבעיות חיבור, למשל כשמשתמשים ב-ADB דרך Wi-Fi או כש-Winscope נסגר באופן בלתי צפוי. אם אין עקבות מהסשן האחרון, ב-Winscope יופיע הכיתוב No valid trace files found.
הודעות שגיאה
במהלך איסוף המעקב, מוצגות ב-Winscope ההודעות הבאות:
התכתבות בהודעות |
תיאור |
לא נבחרו יעדים למעקב |
תיבות הסימון של המעקב לא מסומנות. |
אירעו שגיאות במהלך המעקב:
שגיאה: INVALID_LAYER_STACK , יש לבדוק את מצב המסך (הוא צריך להיות מופעל בתחילת המעקב) |
התבקשה הקלטת מסך, אבל המסך היה כבוי בתחילת המעקב. |
אירעו שגיאות במהלך המעקב:
הודעת שגיאה ספציפית שהתקבלה מהפקודה adb, למשל Failed to find valid files for <trace types requested> |
adb לא הצליח לקרוא את קובצי המעקב. בדרך כלל זה קורה כש-adb לא פועל כ-root. |
אירעו שגיאות במהלך המעקב:
Tracing time out |
יש בעיה בחיבור של המכשיר. |
אירעו שגיאות במהלך המעקב:
{inner error} |
ההודעה הזו כוללת את כל שאר השגיאות. |
דוגמאות התוכן והקוד שבדף הזה כפופות לרישיונות המפורטים בקטע רישיון לתוכן. Java ו-OpenJDK הם סימנים מסחריים או סימנים מסחריים רשומים של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-27 (שעון UTC).
[[["התוכן קל להבנה","easyToUnderstand","thumb-up"],["התוכן עזר לי לפתור בעיה","solvedMyProblem","thumb-up"],["סיבה אחרת","otherUp","thumb-up"]],[["חסרים לי מידע או פרטים","missingTheInformationINeed","thumb-down"],["התוכן מורכב מדי או עם יותר מדי שלבים","tooComplicatedTooManySteps","thumb-down"],["התוכן לא עדכני","outOfDate","thumb-down"],["בעיה בתרגום","translationIssue","thumb-down"],["בעיה בדוגמאות/בקוד","samplesCodeIssue","thumb-down"],["סיבה אחרת","otherDown","thumb-down"]],["עדכון אחרון: 2025-07-27 (שעון UTC)."],[],[],null,["# Capture traces\n\nYou can capture traces on the\n[device](/docs/core/graphics/winscope/capture/on-device),\nthrough\n[Winscope](/docs/core/graphics/winscope/capture/winscope),\nor through\n[Android Debug Bridge (adb)](/docs/core/graphics/winscope/capture/adb)\ncommands.\n\nIn Winscope, you can retrieve the latest traces collected from a device during\nthe previous session. This feature is especially helpful when facing connection\nissues, such as using ADB over Wi-Fi, or when Winscope closes unexpectedly. If\nthere are no traces from the last session, Winscope displays **No valid trace\nfiles found**.\n\nError messages\n--------------\n\nWinscope shows the following messages during trace collection:\n\n| Message | Description |\n|--------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------|\n| No trace targets selected | No trace checkboxes are selected. |\n| Errors occurred during tracing: ERROR: `INVALID_LAYER_STACK`, please check your display state (must be on at start of trace) | A screen recording was requested, but the display was off at the start of trace. |\n| Errors occurred during tracing: A specific error message received from adb command, such as Failed to find valid files for *\\\u003ctrace types requested\\\u003e* | adb couldn't read the trace files, which typically happens when adb isn't running as root. |\n| Errors occurred during tracing: *Tracing time out* | There's a connection issue with the device. |\n| Errors occurred during tracing: *{inner error}* | This message covers all other errors. |"]]