Skip to content

Commit 1b0b9b4

Browse files
committed
Extend possible debugging fixes with file-name-only
1 parent cb7c5ca commit 1b0b9b4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

doc/developer-notes.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ If you have ccache enabled, absolute paths are stripped from debug information
369369
with the `-fdebug-prefix-map` and `-fmacro-prefix-map` options (if supported by the
370370
compiler). This might break source file detection in case you move binaries
371371
after compilation, debug from the directory other than the project root or use
372-
an IDE that only supports absolute paths for debugging.
372+
an IDE that only supports absolute paths for debugging (e.g. it won't stop at breakpoints).
373373

374374
There are a few possible fixes:
375375

@@ -392,6 +392,8 @@ ln -s /path/to/project/root/src src
392392

393393
3. Use `debugedit` to modify debug information in the binary.
394394

395+
4. If your IDE has an option for this, change your breakpoints to use the file name only.
396+
395397
### `debug.log`
396398

397399
If the code is behaving strangely, take a look in the `debug.log` file in the data directory;

0 commit comments

Comments
 (0)