| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| |
| |
| |
| |
| | |
adb3e13d32 cmUVProcessChain: Tolerate fileno() of invalid FILE stream
b6e4e4babc cmUVProcessChain: Simplify SetExternalStream usage
116bb2b70f cmUVProcessChain: Simplify builder initialization
d32c30906a Tests: Add missing include in testUVProcessChainHelper on Windows
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9181
|
| |
| |
| |
| |
| | |
It is commonly called with the `fileno()` of a `FILE*` stream,
so accept the latter directly.
|
| |
| |
| |
| | |
We use `STATUS_ACCESS_VIOLATION` from `windows.h`.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
The operator added by commit 17690558c3 (cmUVHandlePtr: Add explicit
conversion to bool, 2023-10-26) works in direct expressions like
`if(foo)` but not compound expressions like `if(foo && ...)`.
Drop the `explicit` mark when compiling with Oracle Studio so we
can at least compile valid code.
|
| |
| |
| |
| | |
Provide a way to synchronously cancel a write request callback.
|
| |
| |
| |
| | |
These were missing w.r.t. the pattern established for other handle wrappers.
|
| |
| |
| |
| | |
This was missing w.r.t. the pattern established for other handle wrappers.
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
Move the case added by commit 70d88a5361 (cmUVHandlePtr: Add
uv_idle_ptr, 2023-11-06) to a dedicated test.
|
| |
| |
| |
| | |
Wrap a `uv_idle_t` handle.
|
| | |
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
a0fabc4769 cmGlobalGeneratorFactory: Provide complete cmGlobalGenerator to deleter
85627a93c9 cmCTestBuildCommand: Avoid requiring complete cmGlobalGenerator type publicly
641c02a3ce cmList: Avoid using operator-> on input iterator
e4483b8871 Tests: Avoid compiling call to dap::optional<dap::string>(nullptr)
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Acked-by: scivision <michael@scivision.dev>
Merge-request: !8950
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
c028425df9 Debugger: report function name in DAP stackframes
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !8913
|
| |/
| |
| |
| |
| |
| |
| | |
Before a file name and a line were returned, but they can be
obtained by other means.
Fixes: #25091
|
|/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|/ |
|
| |
|