# How to get exact line of code causing slowness

**URL:** <https://community.dynatrace.com/t/how-to-get-exact-line-of-code-causing-slowness/35573>\
**Category:** Open Q&A\
**Tags:** distributed-traces-classic\
**Created:** [June 22, 2022, 5:32pm UTC](https://community.dynatrace.com/t/how-to-get-exact-line-of-code-causing-slowness/35573 "2022-06-22T17:32:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![roushan\_kumar1](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/roushan_kumar1/32/13520_2.png) [@roushan\_kumar1](https://community.dynatrace.com/u/roushan_kumar1)\
**Post date:** [June 22, 2022, 5:32pm UTC](https://community.dynatrace.com/t/how-to-get-exact-line-of-code-causing-slowness/35573/1 "2022-06-22T17:32:52Z")

</div>

I know we get Code Level information as seen below in Purepath.

 ![roushan_kumar1_0-1655919057449.png](https://global.discourse-cdn.com/dynatrace/original/3X/0/b/0b0c843906c5c77157360cfac046d94865f0b978.png)

But this doesn’t give the information about which exact line of code is causing the issue (slowness/failure).

Is there anyway Dynatrace could point the exact line of code from source code which is causing the issue?

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [June 22, 2022, 7:24pm UTC](https://community.dynatrace.com/t/how-to-get-exact-line-of-code-causing-slowness/35573/2 "2022-06-22T19:24:20Z")

</div>

It depends on the collected stacktraces. You can use method hotpost functionality to get insight into what class / method is the “hotspot” - which one is most present in the stack frames. You can’t drill down to line of code, since that’s not the level Dynatrace is able to get.
