How to debug build/project?
I followed https://mariadb.org/get-involved/getting-started-for-developers/get-code-bui... and am able to run the server and mariadb client. Right now i am trying to debug the project after building and running it but havent been successful. I am trying the issue https://jira.mariadb.org/browse/MDEV-34228 In SQL 2023 we have the use of underscore with numeric literals. Any pointers on how to approach this will be appreciated. Been trying to fiddle around numericliteral.h file. Thank You
Hi! What do you mean by 'trying to debug'? Do you mean running gdb on Linux? Can you share what command your ran, what result you got and what you were expecting? If you are developing a feature, one approach could be to write the a stub MTR test first, and then code-build-test until it works. If you run Debian/Ubuntu you find these insightful: https://optimizedbyotto.com/post/quick-builds-and-rebuilds-of-mariadb-with-d... https://optimizedbyotto.com/post/grokking-mariadb-test-run-mtr/
Hi Rohan, Maybe this quick guide can help: https://docs.google.com/document/d/12hRdFt5ndB_2mMiHpvHl8nrxZ8_a7_s80IJ6I1f7... On Fri, Jul 5, 2024 at 1:11 AM Otto Kekäläinen via developers < developers@lists.mariadb.org> wrote:
Hi!
What do you mean by 'trying to debug'? Do you mean running gdb on Linux?
Can you share what command your ran, what result you got and what you were expecting?
If you are developing a feature, one approach could be to write the a stub MTR test first, and then code-build-test until it works.
If you run Debian/Ubuntu you find these insightful:
https://optimizedbyotto.com/post/quick-builds-and-rebuilds-of-mariadb-with-d... https://optimizedbyotto.com/post/grokking-mariadb-test-run-mtr/
_______________________________________________ developers mailing list -- developers@lists.mariadb.org To unsubscribe send an email to developers-leave@lists.mariadb.org
-- Best regards, ------------------------- *Oleg Smirnov* Software Engineer MariaDB Server Team
participants (3)
-
Oleg Smirnov
-
Otto Kekäläinen
-
Rohan Gupta