2018-08-12 02:14:46 +08:00
|
|
|
Implementation
|
2015-12-30 06:21:40 +08:00
|
|
|
==============
|
2018-08-12 17:25:54 +08:00
|
|
|
Implementation notes:
|
2015-12-30 06:21:40 +08:00
|
|
|
|
2018-08-12 17:25:54 +08:00
|
|
|
* [Debugging](#debugging)
|
|
|
|
* [Unit tests](#unit-tests)
|
|
|
|
# Debugging
|
|
|
|
Remote debug - gdb server (program is running) + Eclipse debug (debugger w/ code)
|
2018-08-11 14:37:17 +08:00
|
|
|
|
2018-08-12 17:25:54 +08:00
|
|
|
1. `cd ~/p/hstr/github/hstr/Debug && gdbserver :9999 ./hh`
|
|
|
|
1. Eclipse/Debug Configuration/Using GDB Manual Remote Debugger launching|Debugger tab/Connection port: 9999
|
|
|
|
|
|
|
|
# Unit tests
|
|
|
|
HSTR unit tests are written using Unity
|
|
|
|
|
|
|
|
http://www.throwtheswitch.org/unity/
|