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

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

More Info on Driver Writing and Debugging


The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.


Check out The OSR Learning Library at: https://www.osr.com/osr-learning-library/


windbg workspace - persisting NETwork connection & breakpoints

srini_k_rsrini_k_r Member Posts: 18
Hi,

I have created workspace file for windbg:10.0.10240.9 AMD64 version. My debug connection to target PC is over NETWORK cable.

Most of the details are persisted in workspace except for connection mode and breakpoints. Each time I have to give details of NET key and port and also set breakpoints.

How can this be avoided? This is annoying.

Comments

  • Menachem_ShapiraMenachem_Shapira Member - All Emails Posts: 34
    Batch files can be used launch windbg with arguments. Typicly it may contain

    start "" /D "C:\Program Files (x86)\Windows Kits\8.1\Debuggers\x64\" /B
    "windbg.exe" -k net:port=50000,key=1.2.3.4 -QY




    On Tue, Aug 23, 2016 at 8:00 AM, wrote:

    > Hi,
    >
    > I have created workspace file for windbg:10.0.10240.9 AMD64 version. My
    > debug connection to target PC is over NETWORK cable.
    >
    > Most of the details are persisted in workspace except for connection mode
    > and breakpoints. Each time I have to give details of NET key and port and
    > also set breakpoints.
    >
    > How can this be avoided? This is annoying.
    >
    >
    > ---
    > 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
    >
    > To unsubscribe, visit the List Server section of OSR Online at <
    > http://www.osronline.com/page.cfm?name=ListServer&gt;
    >
  • raj_rraj_r Member - All Emails Posts: 983
    set bu breakpoints they are saved in workspaces

    breakpoints set with mouse clicks , addresses etc (aslr can corrupt )
    are not saved

    for repeaated connections with same parameters create a bat file with
    "path to windbg.exe " -k net:port=xxxxx,key=iii.jjjj.kkkk.lllll


    On 8/23/16, Menachem Shapira <[email protected]> wrote:
    > Batch files can be used launch windbg with arguments. Typicly it may
    > contain
    >
    > start "" /D "C:\Program Files (x86)\Windows Kits\8.1\Debuggers\x64\" /B
    > "windbg.exe" -k net:port=50000,key=1.2.3.4 -QY
    >
    >
    >
    >
    > On Tue, Aug 23, 2016 at 8:00 AM, <[email protected]> wrote:
    >
    >> Hi,
    >>
    >> I have created workspace file for windbg:10.0.10240.9 AMD64 version. My
    >> debug connection to target PC is over NETWORK cable.
    >>
    >> Most of the details are persisted in workspace except for connection mode
    >> and breakpoints. Each time I have to give details of NET key and port and
    >> also set breakpoints.
    >>
    >> How can this be avoided? This is annoying.
    >>
    >>
    >> ---
    >> 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&gt;
    >>
    >> To unsubscribe, visit the List Server section of OSR Online at <
    >> http://www.osronline.com/page.cfm?name=ListServer&gt;
    >>
    >
    > ---
    > 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&gt;
    >
    > To unsubscribe, visit the List Server section of OSR Online at
    > <http://www.osronline.com/page.cfm?name=ListServer&gt;
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!

Upcoming OSR Seminars
OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead!
Kernel Debugging 30 Mar 2020 OSR Seminar Space
Developing Minifilters 15 Jun 2020 LIVE ONLINE
Writing WDF Drivers 22 June 2020 LIVE ONLINE
Internals & Software Drivers 28 Sept 2020 Dulles, VA