enlight / dbgmits

NodeJS module that provides the ability to control GDB and LLDB debuggers via GDB/MI.
MIT License
6 stars 3 forks source link

Add a source line resolver for tests #37

Open enlight opened 9 years ago

enlight commented 9 years ago

Currently tests that need to check that the debugger ends up at the right source line rely on hard-coded line numbers, this is rather tedious to maintain and easy to break whenever modifying the source of the test targets. A better way to accomplish this sort of thing is to place some marker comments in the target source file and then look for them when running tests to determine the corresponding line number.

enlight commented 9 years ago

A source line resolver was added in dfb9f745fc4224f363337aa13091989897c64de1 Now need to update the tests to use it.