eventEntryDebugMeta.js 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. export function EventEntryDebugMeta(params = {}) {
  2. return {
  3. type: 'debugmeta',
  4. data: {
  5. images: [
  6. {
  7. arch: 'x86_64',
  8. candidates: [
  9. {
  10. download: {
  11. status: 'notfound',
  12. },
  13. source: 'sentry:microsoft',
  14. source_name: 'Microsoft',
  15. },
  16. {
  17. debug: {status: 'ok'},
  18. download: {
  19. features: {
  20. has_debug_info: true,
  21. has_sources: false,
  22. has_symbols: true,
  23. has_unwind_info: false,
  24. },
  25. status: 'ok',
  26. },
  27. location: 'sentry://project_debug_file/17',
  28. source: 'sentry:project',
  29. source_name: 'Sentry',
  30. },
  31. {
  32. download: {
  33. status: 'malformed',
  34. },
  35. location: 'burgenland',
  36. source_name: 'Austria',
  37. },
  38. {
  39. download: {
  40. status: 'malformed',
  41. },
  42. location: 'brussels',
  43. source_name: 'Belgium',
  44. },
  45. {
  46. download: {
  47. status: 'malformed',
  48. },
  49. location: 'arizona',
  50. source_name: 'America',
  51. },
  52. ],
  53. code_file: '/Users/foo/Coding/sentry-native/build/./sentry_example',
  54. code_id: '43fd26cc39043633a546f1b003ea17a4',
  55. debug_file: 'sentry_example',
  56. debug_id: '43fd26cc-3904-3633-a546-f1b003ea17a4',
  57. debug_status: 'found',
  58. features: {
  59. has_debug_info: true,
  60. has_sources: false,
  61. has_symbols: true,
  62. has_unwind_info: false,
  63. },
  64. image_addr: '0x10753f000',
  65. image_size: 16384,
  66. type: 'macho',
  67. unwind_status: 'unused',
  68. },
  69. ],
  70. },
  71. ...params,
  72. };
  73. }