cppalliance / http_proto

HTTP/1 parsing and serialization algorithms using C++11
https://develop.http-proto.cpp.al/
Boost Software License 1.0
23 stars 10 forks source link

natvis and pretty printers #69

Open vinniefalco opened 6 months ago

vinniefalco commented 6 months ago

We need natvis and gdb pretty printer support. I think the natvis is already there. We need the gdb pretty printer. Furthermore we need tests. Each test would visualize a predefined object (say, a local variable in a main function) and then compare the output to make sure it exactly matches a string constant:

you write a main that declares a local json::value with some stuff in it and then using a shell script you drive gdb to get a breakpoint and visualize the variable to cout. Then you compare the result with a string literal