How to do single-step debugging while testing?

Michael Mc Donnell michael at mcdonnell.dk
Fri Jun 24 08:24:15 CDT 2011


On Fri, Jun 24, 2011 at 2:56 PM, Stefan Dösinger <stefandoesinger at gmx.at> wrote:
> On Friday 24 June 2011 14:44:10 Michael Mc Donnell wrote:
>> Now I want to connect my graphical debugger. I enter "target remote
>> localhost:57380" in ddd's command line and it connects. But how do I
>> attach the source code and so on (I'm use to debugging in Eclipse and
>> VS)?
> I'm not sure about that, I never used any graphical debuggers with Wine. But
> gdb(and winedbg) always found the Wine source, my assumption was that the path
> to it is stored in the binaries, so ddd should automatically find it.

Well I guess I can go old school with the command line version instead :-)

I can set a break point at test_convert_point_reps_to_adjacency (my
new test) and it stops there. I can also set a break point for
ID3DXMeshImpl_ConvertPointRepsToAdjacency but it just goes past it.

Here are the commands I used:
b test_convert_point_reps_to_adjacency
cont
b ID3DXMeshImpl_ConvertAdjacencyToPointReps
cont

Any idea what I'm doing wrong?



More information about the wine-devel mailing list