kamilosxd678

DotNetCore Debugging

Nov 23rd, 2016
333
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.42 KB | None | 0 0
  1. kamilos@ns3008788:~/WebApplication2/src/WebApplication2$ gdb --args dotnet exec bin/Debug/netcoreapp1.0/WebApplication2.dll
  2. GNU gdb (Debian 7.7.1+dfsg-5) 7.7.1
  3. Copyright (C) 2014 Free Software Foundation, Inc.
  4. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
  5. This is free software: you are free to change and redistribute it.
  6. There is NO WARRANTY, to the extent permitted by law. Type "show copying"
  7. and "show warranty" for details.
  8. This GDB was configured as "x86_64-linux-gnu".
  9. Type "show configuration" for configuration details.
  10. For bug reporting instructions, please see:
  11. <http://www.gnu.org/software/gdb/bugs/>.
  12. Find the GDB manual and other documentation resources online at:
  13. <http://www.gnu.org/software/gdb/documentation/>.
  14. For help, type "help".
  15. Type "apropos word" to search for commands related to "word"...
  16. Reading symbols from dotnet...(no debugging symbols found)...done.
  17. (gdb) b ExecutableMemoryAllocator::TryReserveInitialMemory
  18. Function "ExecutableMemoryAllocator::TryReserveInitialMemory" not defined.
  19. Make breakpoint pending on future shared library load? (y or [n]) y
  20. Breakpoint 1 (ExecutableMemoryAllocator::TryReserveInitialMemory) pending.
  21. (gdb) r
  22. Starting program: /usr/local/bin/dotnet exec bin/Debug/netcoreapp1.0/WebApplication2.dll
  23. [Thread debugging using libthread_db enabled]
  24. Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
  25. [New Thread 0x6ea632787700 (LWP 29880)]
  26.  
  27. Breakpoint 1, 0x00006ea63373d354 in ExecutableMemoryAllocator::TryReserveInitialMemory() () from /opt/dotnet/shared/Microsoft.NETCore.App/1.0.1/libcoreclr.so
  28. (gdb) info proc map
  29. process 29876
  30. Mapped address spaces:
  31.  
  32. Start Addr End Addr Size Offset objfile
  33. 0x400000 0x418000 0x18000 0x0 /opt/dotnet/dotnet
  34. 0x617000 0x618000 0x1000 0x17000 /opt/dotnet/dotnet
  35. 0x618000 0x2707000 0x20ef000 0x0
  36. 0x2707000 0x27f0000 0xe9000 0x0 [heap]
  37. 0x6ea631f87000 0x6ea631f88000 0x1000 0x0
  38. 0x6ea631f88000 0x6ea632788000 0x800000 0x0 [stack:29880]
  39. 0x6ea632832000 0x6ea632854000 0x22000 0x0 /lib/x86_64-linux-gnu/liblzma.so.5.0.0
  40. 0x6ea632854000 0x6ea632a53000 0x1ff000 0x22000 /lib/x86_64-linux-gnu/liblzma.so.5.0.0
  41. 0x6ea632a53000 0x6ea632a54000 0x1000 0x21000 /lib/x86_64-linux-gnu/liblzma.so.5.0.0
  42. 0x6ea632a54000 0x6ea632a55000 0x1000 0x22000 /lib/x86_64-linux-gnu/liblzma.so.5.0.0
  43. 0x6ea632a55000 0x6ea632a65000 0x10000 0x0 /usr/lib/x86_64-linux-gnu/libunwind-x86_64.so.8.0.1
  44. 0x6ea632a65000 0x6ea632c65000 0x200000 0x10000 /usr/lib/x86_64-linux-gnu/libunwind-x86_64.so.8.0.1
  45. 0x6ea632c65000 0x6ea632c66000 0x1000 0x10000 /usr/lib/x86_64-linux-gnu/libunwind-x86_64.so.8.0.1
  46. 0x6ea632c66000 0x6ea632c75000 0xf000 0x0
  47. 0x6ea632c75000 0x6ea632c81000 0xc000 0x0 /usr/lib/x86_64-linux-gnu/libunwind.so.8.0.1
  48. 0x6ea632c81000 0x6ea632e80000 0x1ff000 0xc000 /usr/lib/x86_64-linux-gnu/libunwind.so.8.0.1
  49. 0x6ea632e80000 0x6ea632e81000 0x1000 0xb000 /usr/lib/x86_64-linux-gnu/libunwind.so.8.0.1
  50. 0x6ea632e81000 0x6ea632e90000 0xf000 0x0
  51. 0x6ea632e90000 0x6ea632e94000 0x4000 0x0 /lib/x86_64-linux-gnu/libuuid.so.1.3.0
  52. 0x6ea632e94000 0x6ea633093000 0x1ff000 0x4000 /lib/x86_64-linux-gnu/libuuid.so.1.3.0
  53. 0x6ea633093000 0x6ea633094000 0x1000 0x3000 /lib/x86_64-linux-gnu/libuuid.so.1.3.0
  54. 0x6ea633094000 0x6ea633095000 0x1000 0x4000 /lib/x86_64-linux-gnu/libuuid.so.1.3.0
  55. 0x6ea633095000 0x6ea63309c000 0x7000 0x0 /lib/x86_64-linux-gnu/librt-2.19.so
  56. 0x6ea63309c000 0x6ea63329b000 0x1ff000 0x7000 /lib/x86_64-linux-gnu/librt-2.19.so
  57. 0x6ea63329b000 0x6ea63329c000 0x1000 0x6000 /lib/x86_64-linux-gnu/librt-2.19.so
  58. 0x6ea63329c000 0x6ea63329d000 0x1000 0x7000 /lib/x86_64-linux-gnu/librt-2.19.so
  59. 0x6ea63329d000 0x6ea6338f2000 0x655000 0x0 /opt/dotnet/shared/Microsoft.NETCore.App/1.0.1/libcoreclr.so
  60. 0x6ea6338f2000 0x6ea633af2000 0x200000 0x655000 /opt/dotnet/shared/Microsoft.NETCore.App/1.0.1/libcoreclr.so
  61. 0x6ea633af2000 0x6ea633b27000 0x35000 0x655000 /opt/dotnet/shared/Microsoft.NETCore.App/1.0.1/libcoreclr.so
  62. 0x6ea633b27000 0x6ea633b3e000 0x17000 0x0
  63. 0x6ea633b3e000 0x6ea633c0d000 0xcf000 0x0 /opt/dotnet/shared/Microsoft.NETCore.App/1.0.1/libhostpolicy.so
  64. 0x6ea633c0d000 0x6ea633e0d000 0x200000 0xcf000 /opt/dotnet/shared/Microsoft.NETCore.App/1.0.1/libhostpolicy.so
  65. 0x6ea633e0d000 0x6ea633e0f000 0x2000 0xcf000 /opt/dotnet/shared/Microsoft.NETCore.App/1.0.1/libhostpolicy.so
  66. 0x6ea633e0f000 0x6ea633eb9000 0xaa000 0x0 /opt/dotnet/host/fxr/1.0.1/libhostfxr.so
  67. 0x6ea633eb9000 0x6ea6340b8000 0x1ff000 0xaa000 /opt/dotnet/host/fxr/1.0.1/libhostfxr.so
  68. 0x6ea6340b8000 0x6ea6340ba000 0x2000 0xa9000 /opt/dotnet/host/fxr/1.0.1/libhostfxr.so
  69. 0x6ea6340ba000 0x6ea63425b000 0x1a1000 0x0 /lib/x86_64-linux-gnu/libc-2.19.so
  70. 0x6ea63425b000 0x6ea63445b000 0x200000 0x1a1000 /lib/x86_64-linux-gnu/libc-2.19.so
  71. 0x6ea63445b000 0x6ea63445f000 0x4000 0x1a1000 /lib/x86_64-linux-gnu/libc-2.19.so
  72. 0x6ea63445f000 0x6ea634461000 0x2000 0x1a5000 /lib/x86_64-linux-gnu/libc-2.19.so
  73. 0x6ea634461000 0x6ea634465000 0x4000 0x0
  74. 0x6ea634465000 0x6ea63447b000 0x16000 0x0 /lib/x86_64-linux-gnu/libgcc_s.so.1
  75. 0x6ea63447b000 0x6ea63467a000 0x1ff000 0x16000 /lib/x86_64-linux-gnu/libgcc_s.so.1
  76. 0x6ea63467a000 0x6ea63467b000 0x1000 0x15000 /lib/x86_64-linux-gnu/libgcc_s.so.1
  77. 0x6ea63467b000 0x6ea63477b000 0x100000 0x0 /lib/x86_64-linux-gnu/libm-2.19.so
  78. 0x6ea63477b000 0x6ea63497a000 0x1ff000 0x100000 /lib/x86_64-linux-gnu/libm-2.19.so
  79. 0x6ea63497a000 0x6ea63497b000 0x1000 0xff000 /lib/x86_64-linux-gnu/libm-2.19.so
  80. 0x6ea63497b000 0x6ea63497c000 0x1000 0x100000 /lib/x86_64-linux-gnu/libm-2.19.so
  81. 0x6ea63497c000 0x6ea634a68000 0xec000 0x0 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20
  82. 0x6ea634a68000 0x6ea634c68000 0x200000 0xec000 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20
  83. 0x6ea634c68000 0x6ea634c70000 0x8000 0xec000 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20
  84. 0x6ea634c70000 0x6ea634c72000 0x2000 0xf4000 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20
  85. 0x6ea634c72000 0x6ea634c87000 0x15000 0x0
  86. 0x6ea634c87000 0x6ea634c9f000 0x18000 0x0 /lib/x86_64-linux-gnu/libpthread-2.19.so
  87. 0x6ea634c9f000 0x6ea634e9e000 0x1ff000 0x18000 /lib/x86_64-linux-gnu/libpthread-2.19.so
  88. 0x6ea634e9e000 0x6ea634e9f000 0x1000 0x17000 /lib/x86_64-linux-gnu/libpthread-2.19.so
  89. 0x6ea634e9f000 0x6ea634ea0000 0x1000 0x18000 /lib/x86_64-linux-gnu/libpthread-2.19.so
  90. 0x6ea634ea0000 0x6ea634ea4000 0x4000 0x0
  91. ---Type <return> to continue, or q <return> to quit---
  92. 0x6ea634ea4000 0x6ea634ea7000 0x3000 0x0 /lib/x86_64-linux-gnu/libdl-2.19.so
  93. 0x6ea634ea7000 0x6ea6350a6000 0x1ff000 0x3000 /lib/x86_64-linux-gnu/libdl-2.19.so
  94. 0x6ea6350a6000 0x6ea6350a7000 0x1000 0x2000 /lib/x86_64-linux-gnu/libdl-2.19.so
  95. 0x6ea6350a7000 0x6ea6350a8000 0x1000 0x3000 /lib/x86_64-linux-gnu/libdl-2.19.so
  96. 0x6ea6350a8000 0x6ea6350c8000 0x20000 0x0 /lib/x86_64-linux-gnu/ld-2.19.so
  97. 0x6ea635271000 0x6ea6352b7000 0x46000 0x0
  98. 0x6ea6352c5000 0x6ea6352c7000 0x2000 0x0
  99. 0x6ea6352c7000 0x6ea6352c8000 0x1000 0x0 [vdso]
  100. 0x6ea6352c8000 0x6ea6352c9000 0x1000 0x20000 /lib/x86_64-linux-gnu/ld-2.19.so
  101. 0x6ea6352c9000 0x6ea6352ca000 0x1000 0x21000 /lib/x86_64-linux-gnu/ld-2.19.so
  102. 0x6ea6352ca000 0x6ea6352cb000 0x1000 0x0
  103. 0x70f1ba413000 0x70f1ba435000 0x22000 0x0 [stack]
  104. 0xffffffffff600000 0xffffffffff601000 0x1000 0x0 [vsyscall]
  105. (gdb)
  106. (gdb)
Advertisement
Add Comment
Please, Sign In to add comment