ollydbg

Results 288 comments of ollydbg

I looked at the source code of wxWidgets, for the old draw line code: https://github.com/wxWidgets/wxWidgets/blob/969c5a46b5c1da57836f721a4ce5df9feaa437f9/src/msw/dc.cpp#L709-L743 https://github.com/wxWidgets/wxWidgets/blob/969c5a46b5c1da57836f721a4ce5df9feaa437f9/src/msw/utilsgui.cpp#L205-L209 So, it use `LineTo(hdc, x2, y2);` command. For the new draw lines function code,...

> I am about to complete the new version. > > I've also added debug annotations, as we said earlier. That's great news, thanks! Debugging feature is so important for...

> It's impossible to find out which rule is the problematic one. > > I suggest to add a name field in a rule, then set up their name, and...

> Add the following field to the rule class: > > const char* name; > > Then set the names of your rules: > > my_rule1.name = "my rule1"; >...

The bug is caused that I define a rule variable as a class member variable, but I do not initialized it, but later I just used it.

OK, I can wait for the next release, no hurry.

It looks like you have pushed the updated library code to the git master, and sadly my testing code has many build errors. [asmwarrior/parserlib: A c++ recursive-descent PEG parsing library...

``` using parse_context_type = parse_context< parserlib::line_counting_string, match_id_type, error_id_type, case_sensitive_comparator, empty_parse_context_extension >; ``` I used to write such code, see here: https://github.com/asmwarrior/parserlib/blob/master/cpp_lexer_grammar.h#L74 But it looks like the `line_counting_string` does not exist...

Thanks. I see some wired build error: ``` -------------- Build file: Debug in test_parser_lib (compiler: GNU GCC Compiler)--------------- [100.0%] g++.exe -Wall -fexceptions -g -Iinclude -c E:\F\code\parserlib\cpp_lexer_grammar.cpp -o obj\Debug\cpp_lexer_grammar.o In file...

It looks like the m_name is defined as "const", so can this variable be set in the function? ``` namespace parserlib { #ifndef NDEBUG /** * Parse node only used...