Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Splitting debugger in two - specific debugger and common GUI

<< < (121/136) > >>

ollydbg:
Hey, I found a potential issue. :)

I have two project opened.(one have space in path, the other does not), both have main.cpp and I set one breakpoint per file.

I'm debugging the project with no space(active project), but the log shows that the BP in file with space (non active project) are still sent.

You see the second log:

--- Code: ---[debug]> break "E:/code/cb/test_code/space folder/hi/main.cpp:8"
[debug]No source file named E:/code/cb/test_code/space folder/hi/main.cpp.
[debug]Breakpoint 2 ("E:/code/cb/test_code/space folder/hi/main.cpp:8) pending.
[debug]>>>>>>cb_gdb:
[debug]> break "E:/code/cb/test_code/nospace/hi/main.cpp:7"
[debug]Breakpoint 3 at 0x4013de: file E:\code\cb\test_code\nospace\hi\main.cpp, line 7.

--- End code ---

Maybe, we should give a message or warning on this cases?


oBFusCATed:
ollydbg: This is not a bug, but a feature. All breakpoints from all projects are sent, this is done in order to be able to debug inside shared libraries.

ollydbg:

--- Quote from: oBFusCATed on January 17, 2012, 03:50:05 pm ---ollydbg: This is not a bug, but a feature. All breakpoints from all projects are sent, this is done in order to be able to debug inside shared libraries.

--- End quote ---
Yes, I see. No need to change anything on this feature. :)

MortenMacFly:

--- Quote from: MortenMacFly on January 17, 2012, 03:30:35 pm ----> No closing quotation mark, so the debugger reads garbage!

--- End quote ---
@oBFusCATed: I think I found the reason. Should I commit at will or do you have stuff pending?

MortenMacFly:

--- Quote from: oBFusCATed on January 17, 2012, 09:36:04 am ---Can you try this patch and then tell me if it works:

--- End quote ---
Full stop. This doesn't work completely. It correctly spits out the debuggee could not be found and I could re-start the debugger, but the internal state seems screwed. Because if I hit the "run-debugger" button several times the "build buttons" and everything never gets back and remain greyed. In addition I don't see any output in the debugger console anymore.

I have to re-start C::B to get it back into a normal state. :-(

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version