# Exception\_Access\_Violation

**URL:** <https://clarionhub.com/t/exception-access-violation/4245>\
**Category:** questions\
**Tags:** gpf\
**Created:** [June 17, 2021, 3:39pm UTC](https://clarionhub.com/t/exception-access-violation/4245 "2021-06-17T15:39:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dwstone](https://clarionhub.com/letter_avatar_proxy/v4/letter/d/f05b48/32.png) [@dwstone](https://clarionhub.com/u/dwstone)\
**Post date:** [June 17, 2021, 3:39pm UTC](https://clarionhub.com/t/exception-access-violation/4245/1 "2021-06-17T15:39:26Z")

</div>

I am compiling code pulled from our source control (that is currently in production). Everything compiles fine, but when I try to run our system program, I get the following error and I don't know what to do. I've only been coding in Clarion for a little over a year, so I'm still learning. Can anyone PLEASE give some insight?

![image](https://clarionhub.com/images/transparent.png)

---

<div class="post-metadata">

**Author:** ![Mike\_Duglas](https://clarionhub.com/user_avatar/clarionhub.com/mike_duglas/32/1061_2.png) [@Mike\_Duglas](https://clarionhub.com/u/Mike_Duglas)\
**Post date:** [June 17, 2021, 6:46pm UTC](https://clarionhub.com/t/exception-access-violation/4245/2 "2021-06-17T18:46:49Z")

</div>

Try to build the app in debug mode, also replace ClaRUN.dll with bin\debug\ClaRUN.dll, this may help to get more exception details.

---

<div class="post-metadata">

**Author:** ![jslarve](https://clarionhub.com/letter_avatar_proxy/v4/letter/j/e480ec/32.png) [@jslarve](https://clarionhub.com/u/jslarve)\
**Post date:** [June 17, 2021, 7:26pm UTC](https://clarionhub.com/t/exception-access-violation/4245/3 "2021-06-17T19:26:46Z")

</div>

With your collect.app opened, click on the “Build” menu at the top of the IDE, then “Set configuration”, and make sure “Debug” is selected.  
When you compile/run, (and use the debug ClaRun as Mike suggested) it should help give you a better idea next time it crashes.

---

<div class="post-metadata">

**Author:** ![MarkGoldberg](https://clarionhub.com/user_avatar/clarionhub.com/markgoldberg/32/1511_2.png) [@MarkGoldberg](https://clarionhub.com/u/MarkGoldberg)\
**Post date:** [June 17, 2021, 7:40pm UTC](https://clarionhub.com/t/exception-access-violation/4245/4 "2021-06-17T19:40:45Z")

</div>

As Mike and Jeff suggested, use the bin\Debug\ClaRun.DLL  
here’s how to do that  
[How to improve the Call Stack when your program GPFs to show Procedure Names - ide / Tips - ClarionHub](https://clarionhub.com/t/how-to-improve-the-call-stack-when-your-program-gpfs-to-show-procedure-names/188)
