I'm using clion:
Build #CL-202.6397.106, built on July 28, 2020
Subscription is active until September 26, 2020
Runtime version: 11.0.7+10-b944.20 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
GC: ParNew, ConcurrentMarkSweep
Non-Bundled Plugins: com.corochann.plugin.clion.singlefileexecutionplugin
Current Desktop: ubuntu:GNOME
I've been trying to debug a C program I've written.
when I Run, process finish successfully.
When I use memcheck with valgrind no leak or illegal writes are detected.
But when I debug, the debugger is stuck at random line of reading from a file and putting in a int. The reason is, I assume, is that I've written an expression with overflowing index of an array. I expect that intellij will alert me, and not that the debugger will segfault at a random line.