Problem in Debugging with gdb

I usually use gdb to debug the program but since last few days I can’t set break points it just keep telling me that the line on which i want to set break point doesn’t exist. I searched it on various online linux forums but didn’t find any help. If anyone knows how to fix it, please help me.
I’m using debian 10, gdb 8.2.1 version.