| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
It is commonly called with the `fileno()` of a `FILE*` stream,
so accept the latter directly.
|
|
|
|
| |
We use `STATUS_ACCESS_VIOLATION` from `windows.h`.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This provides a utility macro which prints out:
- location of the call;
- the expression being evaluated; and
- the value of the expression.
Evaluates to the value of the expression.
Inspired by Rust's `dbg!` macro.
See: https://doc.rust-lang.org/stable/std/macro.dbg.html
|
|
|
|
| |
And update cmSystemTools::WaitForLine() to use cmUVProcessChain.
|
| |
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| | |
8b1257e7bf Debugger: Replace libuv with platform-specific connection code
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !8711
|
| |
| |
| |
| |
| |
| |
| | |
Remove libuv usage from CMake debugger. Libuv has an async io model
and cppdap uses a sync model, so an extra thread and a buffer copy
were necessary to match semantics. In order to eliminate those
costs this commit implements the IO using platform specific APIs.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
1a5cb0c1c1 testDebuggerNamedPipe: fix for cppdap with nlohmann_json
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !8725
|
| | |
| | |
| | |
| | |
| | | |
Fixes: #25190
Signed-off-by: Đoàn Trần Công Danh <congdanhqx@gmail.com>
|
| | |
| | |
| | |
| | | |
Fixes: #25147
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
fbdb1fd843 Source: Add cm_fileno wrapper
Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !8686
|
| | | |
| | | |
| | | |
| | | | |
And use it where appropriate.
|
|/ / /
| | |
| | |
| | | |
Fixes: #25147
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
3ce4e9523c testUTF8: Improve using string_view
Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !8673
|
| | | | |
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
`include-what-you-use` diagnostics, in practice, are specific to
the environment's compiler and standard library. Update includes
to satisfy IWYU for our CI job under Debian 12.
|
| |/
|/| |
|
| | |
|
|\ \
| |/
| |
| |
| |
| |
| |
| | |
60b6383993 Debugger: Always clear existing breakpoints on setBreakpoints
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !8624
|
| |
| |
| |
| | |
Fixes: #25063
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| | |
e02cf3f190 Debugger: Correctly handle clients without supportsVariableType
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Acked-by: Garrett Campbell <gcampbell@microsoft.com>
Merge-request: !8620
|
| |
| |
| |
| | |
Fixes: #25057
|
| |
| |
| |
| | |
Avoid repeating `libCMakeLib.a` multiple times on the link line.
|
|\ \
| |/
| |
| |
| |
| |
| |
| | |
764258771a Debugger: Fix threads request segfault after thread exited event
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !8604
|
| |
| |
| |
| | |
Fixes: #25041
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|/ |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Depends on cppdap and jsoncpp.
- Add --debugger argument to enable the Debugger.
- Add --debugger-pipe argument for DAP traffics over named pipes.
- Support breakpoints by filenames and line numbers.
- Support exception breakpoints.
- Call stack shows filenames and line numbers.
- Show Cache Variables.
- Show the state of currently defined targets,
tests and directories with their properties.
- Add cmakeVersion to DAP initialize response.
- Include unit tests.
Co-authored-by: Ben McMorran <bemcmorr@microsoft.com>
|
| |
|
| |
|
|
|
|
| |
This removes some includes from some existing files.
|
|
|
|
|
|
| |
Based on work done by @ben.boeckel (!8051)
Fixes: #22217
|
| |
|
| |
|
|
|
|
| |
Fixes: #24548
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
19305afd8a presets: Improve JSON parser and error messages
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Acked-by: scivision <michael@scivision.dev>
Merge-request: !8290
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add a role that can be used to create local links (a la '`LINK`_'), but
that also applies literal style. This is particularly useful for
referring to subcommands within the command's documentation in a style
that is consistent with ':command:`BAR <foo(BAR)>`' but is much less
verbose.
Although this is intended for subcommands, it works with any local
reference.
Co-authored-by: Brad King <brad.king@kitware.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The `signature` directive added by commit 74e3c1d313 (Utilities/Sphinx:
Add a directive to document command signatures, 2023-02-24) will be
commonly used with the form:
.. signature::
some_command(SOME_SIGNATURE)
Docs for this signature.
Drop the assumption that all CMake domain directives are immediately
followed by their argument on the same line.
|
|/
|
|
|
|
|
| |
Add a `signature` directive to offer a CMake version of Sphinx's
`function` directive, similar to that found in other domains (py, cpp,
etc.). Like others, this takes one or more signatures as arguments and
creates dt/dd nodes from the signatures and the directive contents.
|
|
|
|
|
|
|
|
|
| |
The VersionCompare() function converted version components to
'unsigned long' prior to comparing them. Any version components
too large for 'unsigned long' were treated as equal to ULONG_MAX.
This impacted operators like VERSION_GREATER, VERSION_LESS, and
VERSION_EQUAL. The new code does not limit the length of the
version components for valid comparisons.
|
| |
|