Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

Before Posting... Please check out the Community Guidelines in the
Announcements and Administration Category.

Unable to place breakpoint through source/linenumber

DilipDilip Posts: 10
This is a fairly standard thing I used to do but all of a sudden, with:

0:000> bu `module!filename.cpp:143`

I get:

Matched: module!ns::class::method+0x16a (508f7e47)
Matched: module!ns::class::method+0x1a0 (508f7e7d)
Ambiguous symbol error at '`module!filename.cpp:143`'
^ Extra character error in 'bu `module!filename.cpp:143`'

I gave it a line number and a source file. How much more unambiguous can I be? I don't understand that extra character complaint either.

Comments

  • Taed_WynnellTaed_Wynnell Posts: 101
    It looks to me that you're using back-quotes (`) instead of normal single quotes (').
  • raj_rraj_r Posts: 953
    @twynnell src line syntax requires backticks

    it seems to work here properly @16299 windbg version



    C:\test>cdb -c ".lines;bu @@masm(`test!c:\t1.cpp:43`);g;lsa
    .;.lastevent;qq" test.exe | tail -5
    > 43: return 0;
    44: }
    Last event: 284.62c: Hit breakpoint 0
    debugger time: Fri May 18 09:32:02.832 2018 (UTC + 5:30)
    quit:

    C:\test>



    On 5/13/18, xxxxx@vertical.com <xxxxx@lists.osr.com> wrote:
    > It looks to me that you're using back-quotes (`) instead of normal single
    > quotes (').
    >
    >
    > ---
    > WINDBG is sponsored by OSR
    >
    > OSR is hiring!! Info at http://www.osr.com/careers
    >
    >
    > MONTHLY seminars on crash dump analysis, WDF, Windows internals and software
    > drivers!
    > Details at <http://www.osr.com/seminars>;
    >
    > To unsubscribe, visit the List Server section of OSR Online at
    > <http://www.osronline.com/page.cfm?name=ListServer>;
    >
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!