sdgsdg

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: break points issue #2638
    sdgsdg
    Participant

    Seems I found solution and problem in visual gdb, it searches for exact paths and not relative (even if it’s selected as relative).
    When I tweaked my test system dir mapping same as dev system things started working.

    eg dev system path is /home/sdgsdg/test and if I mount it at test system as /root/tmp/sdgsdg/test things does not work.

    This is how you can repro issue.

    On Linux dev system write a simple program and put output in some different directory than source file (ie testout). Then map it on another Linux test system with some different dir mapping as I have mentioned with sshfs, map source from Dev system on Win system. Now run visual gdb bp see does not hit.
    If out file is in same dir as source then it’s not seen.

    in reply to: break points issue #2636
    sdgsdg
    Participant

    Seems not able to local file on test system where I’m running program, whereas when test button shows pass on file sync option in vgdb settings.
    Resolve bp also shows similar error ie no record of file.

    -break-insert -f /root/main.cpp:382
    &”No source file named /root/main.cpp.n”
    ^done,bkpt={number=”5″,type=”breakpoint”,disp=”keep”,enabled=”y”,addr=”“,pending=”/root/main.cpp:382″,times=”0″,original-location=”/root/main.cpp:382”}
    -break-info 5
    ^done,BreakpointTable={nr_rows=”1″,nr_cols=”6″,hdr=[{width=”7″,alignment=”-1″,col_name=”number”,colhdr=”Num”},{width=”14″,alignment=”-1″,col_name=”type”,colhdr=”Type”},{width=”4″,alignment=”-1″,col_name=”disp”,colhdr=”Disp”},{width=”3″,alignment=”-1″,col_name=”enabled”,colhdr=”Enb”},{width=”10″,alignment=”-1″,col_name=”addr”,colhdr=”Address”},{width=”40″,alignment=”2″,col_name=”what”,colhdr=”What”}],body=[bkpt={number=”5″,type=”breakpoint”,disp=”keep”,enabled=”y”,addr=”
    “,pending=”/root/main.cpp:382″,times=”0″,original-location=”/root/main.cpp:382”}]}
    -break-after 5 0
    ^done

    in reply to: break points issue #2634
    sdgsdg
    Participant

    Yes its debug build and I can debug in gdb.
    Also if I put assertion I can debug step by step in visual gdb and even I can trace call stack but I can’t set breakpoint 🙁

    Does visual gdb takes relative path or exact code paths from symbols?

Viewing 3 posts - 1 through 3 (of 3 total)