# Custom LLA - debugging not possible via breakpoints

**URL:** <https://discuss.saleae.com/t/custom-lla-debugging-not-possible-via-breakpoints/2086>\
**Category:** Extensions\
**Created:** [February 3, 2023, 12:45pm UTC](https://discuss.saleae.com/t/custom-lla-debugging-not-possible-via-breakpoints/2086 "2023-02-03T12:45:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gripsergiu](https://avatars.discourse-cdn.com/v4/letter/g/ac91a4/32.png) [@gripsergiu](https://discuss.saleae.com/u/gripsergiu)\
**Post date:** [February 3, 2023, 12:45pm UTC](https://discuss.saleae.com/t/custom-lla-debugging-not-possible-via-breakpoints/2086/1 "2023-02-03T12:45:59Z")

</div>

Hi,

I am trying to build a custom LLA on 64 bits.  
Environment:  
- SDK from [GitHub - saleae/AnalyzerSDK: Logic 1 & Logic 2 Analyzer SDK](https://github.com/saleae/AnalyzerSDK)  
- Logic2 v2.4.6  
- VS professional 2019 v16.1.3  
The starting point was a project i2c\_analyzer-master. I could compile with no issue and the dll is seen in the Logic 2.  
My issue is that I can’t really debug the code because the breakpoints are not usable. I get the message: “The breakpoint will not currently be hit. No symbols have been loaded for this document”

 ![SymbolsLoadingError](https://canada1.discourse-cdn.com/flex030/uploads/saleae/original/2X/f/fe1ea7a80171b07d0e22aaaac3019a754bf90700.png)  
Is this a file that I can take it from somewhere? Should have been present already in the .exe? Did anyone encounter this issue, maybe it could help w/ a fix, a suggestion on what I’m doing wrong?

Thank you!

---

<div class="post-metadata">

**Author:** ![timreyes](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.saleae.com/timreyes/32/108_2.png) [@timreyes](https://discuss.saleae.com/u/timreyes)\
**Post date:** [February 6, 2023, 11:26pm UTC](https://discuss.saleae.com/t/custom-lla-debugging-not-possible-via-breakpoints/2086/2 "2023-02-06T23:26:44Z")

</div>

@gripsergiu Sorry for the trouble with that! As a quick debugging exercise, can you confirm the following?

- Are you running the debugging instructions below?  
[SampleAnalyzer/readme.md at master · saleae/SampleAnalyzer · GitHub](https://github.com/saleae/SampleAnalyzer/blob/master/readme.md#debugging)
- If so, can you confirm that you are able to successfully set a breakpoint somewhere at the beginning of the WorkerThread function in the SampleAnalyzer project below?  
[GitHub - saleae/SampleAnalyzer: Sample Analyzer for the Analyzer SDK](https://github.com/saleae/SampleAnalyzer)

---

<div class="post-metadata">

**Author:** ![gripsergiu](https://avatars.discourse-cdn.com/v4/letter/g/ac91a4/32.png) [@gripsergiu](https://discuss.saleae.com/u/gripsergiu)\
**Post date:** [February 7, 2023, 11:22am UTC](https://discuss.saleae.com/t/custom-lla-debugging-not-possible-via-breakpoints/2086/3 "2023-02-07T11:22:56Z")

</div>

Hi,

I found the issue. I was attaching a PID but not the right one it seems.

I read the page when I started but not with care and it seems that I missed the point of how to get the PID.  
I read on the internet that the first one in the list is usually the correct one … Not for me ☹  
Now I can set the breakpoint.  
Thank you very much for your help!

Best regards,  
Sergiu Grip
