Commit Graph

39 Commits

Author SHA1 Message Date
Max Charlamb c2ba7462ff
Add instructions to debug CLI builds using VS (#108455)
Adds instructions to use VS as a tool to debug CLI builds

Previously the coreclr debugging docs only mentioned workflows for Visual Studio
which involve using VS for both building and debugging. This adds an additional
method to build using CLI scripts and use VS to only debug.

Thank you @AaronRobinsonMSFT for showing me this method.
2024-10-02 10:46:39 -04:00
Viktor Hofer c4b3d81df1
Target .NET 10 / net10.0 (#106599)
* Update dotnet10 feeds

* Update hardcoded old TFM values

* More hardcode updates and TFM checks

* Updates and delete duplicate file in Bcl.Numerics

* Linker stays on net9.0

* Fix .NET SDK max supported version

* Update apicompat sfx apicompat baseline file

* Update Microsoft.NET.WebAssembly.Threading APICompat settings

* Fix DiagnosticSource build

* Update SDK to RC1 for needed GetAlternateLookup API

to be able to build System.Text.Json on net9.0.

* Fix APICompat runtime regex pattern

* Suppress Bcl.Memory compatibility error for dropped framework

* Fix BinaryFormatter tests regex pattern for version subsitution

* Update BinaryFormatterTests.cs

* Pin SdkVersionForWorkloadTesting to the version in global.json

* Treat net9 and net10 as current for now

* Bump MicrosoftDotNetILCompilerVersion

* Update BinaryFormatterTests.cs

* Update System.Resources.Extensions

* Update AutoImports as well

* Fix ImporterTests.cs

* Block failing SignalRClientTests

* Update XmlSerialzation Schema Import tests.

* Update Versions.props

* Update CompatibilitySuppressions.xml for System.Numerics.Tensors

* Don't set EnableDefaultCompileItems, it doesn't work since we set EnableDefaultItems=false higher up

* Update regex in legacy BinaryFormatterTests.cs too

* Hardcode BinaryFormatter test assembly version to 9.0

This allows us to not change the majority of the tests

* Fix typo

* Fix issue in Microsoft.NET.Workload.Mono.Toolchain.Current.Manifest.pkgproj

* Replace ForceNet8Current in a few more places

* Fix wasi workload

* Fix TreatAsCurrent for 10.0

* Add net9 workload manifests

* Update PackageId in icrosoft.NET.Runtime.WebAssembly.Templates.csproj

* Update ApiCompatBaseline.NetCoreAppLatestStable.xml

Changes from https://github.com/dotnet/runtime/pull/107758

* Remove duplicate dotnet10 feeds from nuget.config

* Update Versions.props

* Fake SDK band version for now

* Update Versions.props

* Update the SDK band versions for real

* Update the dotnet/sdk dependencies

* Update emsdk to net10 workloads

* Install a 9.0 runtime for workload tests too

* Update the compat tasks

* Merge in changes from net10-manifests

* Tmp: Trying out @am11's branch.

* Tmp2: Trying out @am11's branch.

* Tmp3: Replace the last usage of main in clone action.

* Update eng/pipelines/coreclr/templates/build-perf-bdn-app.yml

Co-authored-by: Adeel Mujahid <3840695+am11@users.noreply.github.com>

* Update eng/pipelines/coreclr/templates/perf-job.yml

Co-authored-by: Adeel Mujahid <3840695+am11@users.noreply.github.com>

* Update eng/pipelines/runtime-wasm-perf.yml

Co-authored-by: Adeel Mujahid <3840695+am11@users.noreply.github.com>

---------

Co-authored-by: Larry Ewing <lewing@microsoft.com>
Co-authored-by: Jackson Schuster <36744439+jtschuster@users.noreply.github.com>
Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com>
Co-authored-by: Ilona Tomkowicz <itomkowicz@microsoft.com>
Co-authored-by: Steve Molloy <smolloy@microsoft.com>
Co-authored-by: Adeel Mujahid <3840695+am11@users.noreply.github.com>
2024-09-25 11:28:31 -05:00
Rick Anderson 78def3eacd
Update debugging-runtime.md (#106518)
* Update debugging-runtime.md

* Update docs/workflow/debugging/coreclr/debugging-runtime.md

* Update docs/workflow/debugging/coreclr/debugging-runtime.md

* Update docs/workflow/debugging/coreclr/debugging-runtime.md
2024-08-16 16:28:38 -04:00
Jan Kotas 99e94ce55d
Replace net8 with net9 under docs (#104189)
Fixes #104088
2024-06-29 07:44:01 -04:00
Alexander Köplinger 7107ff64f3
Update references to dotnet/installer repo (#103077)
The installer repo was merged into the sdk repo.
2024-06-06 00:11:49 +02:00
Ken Dale 59f2833b98
Update docs.microsoft.com usages to learn.microsoft.com (#102881)
* Update https://docs.microsoft.com to https://learn.microsoft.com

* Update http://docs.microsoft.com/ to https://learn.microsoft.com (removes trailing slash)

* Update docs.microsoft.com to https://learn.microsoft.com

* Update docs.microsoft.com to learn.microsoft.com

* Replace learn.microsoft.com/en-us/ with learn.microsoft.com/ to remove locale from urls
2024-05-31 11:27:45 -07:00
Will Smith 5961ee1830
Removed legacy LLVM ObjWriter. Removed all mentions of LLVM ObjWriter. Removed all LLVM ObjWriter package references. (#99733) 2024-03-14 12:35:42 -07:00
Min 9d59bf6508
fix commands for debugging coreclr with lldb (#99345) 2024-03-05 22:19:53 -08:00
David Wrighton e55d342173
Remove IBC and Ngen related structures and comments (#96867)
- Remove all IBC comments from the vm portion of the codebase
- Remove `m_GenericTypeDefToCanonMethodTableMap` and `m_MehtodDefToPropertyInfoMap` which were only filled in by NGen
- Remove a variety of flags enums which are never used
- Remove infra for testing Zap and IBC  scenarios
- Remove ZapDisable as @egorbo suggested
2024-01-12 15:59:21 -08:00
Juan Hoyos 87157cd4e1
Update debugging-runtime.md to mention nativeprereqs (#86174) 2023-05-12 15:02:15 -07:00
Joseph Musser 19fde3f23c
Fix typo (#85210) 2023-04-22 19:40:51 -07:00
Jasper 62288fd838
Fix typo in debugging-runtime.md (#85060)
I believe this is a typo. The subset isn't recognized by build.cmd and git grep find nothing for corelibnative except this line.
2023-04-19 12:31:41 -07:00
Craig Johnson f91d1d4dfa
Fix juxtaposed command - correct value is noted in eng\build.ps1 (#81572) 2023-02-27 09:48:40 +01:00
Gregg Miskelly a92c5bc9d5
Add instructions for disabling VS signature validation (#79777)
In Visual Studio 17.5, Visual Studio will start enforcing signature validation for DAC and DBI. This adds documentation on how to disable this for folks using daily or private builds.
2022-12-18 21:29:18 -05:00
Viktor Hofer 46780fd365 Update 'net7.0' usages in the repo 2022-11-18 21:24:56 +01:00
Jakob Botsch Nielsen 86254ee842
Update some documentation (#77711)
* Update references to Ngen variants of JIT environment variables
* Update crossgen to crossgen2
* SPC instead of mscorlib
2022-11-01 09:15:55 -07:00
Jan Kotas 3adbcf5ff9
Doc improvements (#76863)
- Use proper macOS capitalization
- Delete superfluous details

Co-authored-by: Theodore Tsirpanis <teo@tsirpanis.gr>
2022-10-11 13:35:53 -07:00
Ivan Diaz Sanchez 6811cc4dcb
Improvements to CoreCLR Building, Debugging, and Testing Documentation (#75569)
* Quality Week 2022: The First Step to a Better Documentation.

* Removed the Markdown Extension's additional development tags.

* Removed redundant stuff.

* Removed redundant stuff.

* Removed guide testing versions to avoid confusion that they would be the only supported versions.

* Addressed some Powershell comments, added a pointer to a yaml with links to other .NET sibling repos, and did a couple mini-corrections. Still got a few comments to address...

* Fixed a ';:' with Powershell's syntax.

* Addressed review comments: Redaction improvements, localization url's, improved code snippets, added info on individual subsets building configurations, changed COMPlus for DOTNET, and other misc improvements.

* Addressed remaining comments.

* Addressed some last comments regarding corerun, and the subset flags in the build scripts.

Co-authored-by: Ivan Diaz <bluehorizon186@gmail.com>
2022-10-10 13:39:22 -07:00
Jan Kotas 32ac664fca
Replace net7 with net8 in dogfooding and workflow docs (#75453) 2022-09-12 20:40:44 -07:00
N0D4N 126045ca05
Repoint urls in docs (#73766) 2022-08-14 18:56:07 -06:00
Jan Kotas f49851cad9
Delete NGen flavor of JIT configs (#73383)
* Delete NGen flavor of JIT configs

We do not need them anymore since the JIT configs are specified on AOT tool command line now.

* Update docs
2022-08-04 13:17:18 -07:00
Huo Yaoyuan cd7db356a8
CMake support in VS open folder for coreclr (#70285)
* Basic building support

* Add windows platform matrix

* Add open folder debug instructions
2022-07-27 14:39:30 -07:00
Adeel Mujahid 9d6396deb0
Fix typos (#72709) 2022-07-23 20:24:28 -07:00
Adeel Mujahid 3ea30ed321
Fix typos (#72314)
* Fix typos

* Cleanup trailing whitespaces in committed files

* Revert a macro for win32 compat

* Disambiguate test data method

* Revert XMLPath test which rely on external assets

* Revert whitespace change in Xml tests

* Revert ClrEtwAl and ILLink.Shared

* Revert crossgen2 props/targets and *.wxl
2022-07-16 22:11:11 -07:00
Andrii Kurdiumov 4e2102b73b
Add dependency analysis documentation from CoreRT (#63665) 2022-01-12 16:52:01 +09:00
Michal Strehovský 046cbf0c41
Unify threading between crossgen2 and ilc (#63282)
They don't have to differ in the `--parallelism` vs `--singlethreaded` argument.
2022-01-04 05:00:43 +09:00
Michal Strehovský 07ed923f57
Switch to objwriter from the dotnet/llvm-project repo (#63177) 2021-12-31 13:34:33 +09:00
Michal Strehovský f44b0ba183
Add docs around NativeAOT workflows (#62837) 2021-12-16 10:35:54 +09:00
Andrei Faber 30b31615b2
debugging.md - fixed incorrect paths (#51577) 2021-04-24 06:36:34 -07:00
Mike McLaughlin 79ad10cf22
Add MachO dump writer to createdump (#51150)
* Add MachO dump writer to createdump

Instead of the hacky ELF core dumps on MacOS now createdump generates true MachO dumps.

Setting the COMPlus_DbgEnableElfDumpOnMacOS environment variable is no longer needed.

Add special thread info memory region containing the OS thread ids missing from macho core dumps. This allows SOS to map the thread indexes to thread ids. The address (0x7fffffff00000000) of this special memory region is above the highest user address (0x0007FFFFFFFFF000) and below a kernel reserved address (0xffffff8000xxxxxx) which is kind of moot because dumps don't include any kernel regions. lldb seems just fine with this memory region.

The changes include ARM64 support also, but since I don't have a M1 device I can't build/test them. I'm hoping Steve can at least review them.

Add --verbose/TRACE_VERBOSE support to tone down all the macho dump generation spew.

Issue: #48664

* Fix build problem

* Update docs

* Code review feedback

Co-authored-by: Juan Sebastian Hoyos Ayala <juhoyosa@microsoft.com>
2021-04-15 21:45:55 +00:00
Jeremy Koritzinsky 8c2158f9fe
Make Ninja the default CMake generator on Windows for the repo (#49715)
Co-authored-by: Juan Hoyos <juan.hoyos@microsoft.com>
2021-04-05 09:28:04 -07:00
David Wrighton d7ee51cc18
Debugging Crossgen2 documentation (#47363)
* Debugging Crossgen2 documentation and such
- Also new --print-repro-instructions command line switch to crossgen2 as requested by the JIT team
2021-01-25 18:21:48 -08:00
Dan Moseley d3a04b2959
Fix complus casing (#46167) 2020-12-16 16:45:32 -08:00
Anirudh Agnihotry b37f10a504
Changing Windows_NT -> Windows for enabling TargetPlatformMoniker feature of the sdk for platform specific tfms. (#43651)
* eng change

* coreclr change

* libraries change

* tests change

* installer & mono change

* py files changed

* .md change

* .yml change

* remove redundant targetos property

* Windows_NT -> windows after ninja change

* fixing runtime build failure
2020-11-02 14:25:58 -08:00
Huo Yaoyuan 5143a05660
Update steps in debugging instruction of CLR (#43557)
* Update CLR debugging instruction steps.

* Use suggested BCL path

Co-authored-by: Jan Vorlicek <janvorli@microsoft.com>

* Mention the usage cases of CORE_LIBRARIES.

Co-authored-by: Jan Vorlicek <janvorli@microsoft.com>
2020-10-21 18:08:53 +02:00
Mattias Karlsson 6ef9af19c2
ms-vscode.csharp to ms-dotnettools.csharp (#33354)
C# extension has changed its name from "ms-vscode.csharp" to "ms-dotnettools.csharp".
2020-03-09 14:00:22 +01:00
Kunal Pathak d76ef042f8
Make JitDump label output multi-thread safe (#32578)
* Make JitDump label output multi-thread safe

`s_compMethodsCount` is a static variable and incrementing it when
two JITs are running at the same time can result in inconsistent labels. This PR fixes it by adding an instance variable `compMethodID` on `Compiler` object and setting it to the value of `s_compMethodsCount` after incrementing it using `InterlockedIncrement()`.

Changed the type of `s_compMethodID` to `LONG` to match the signature of `InterlockedIncrement()` and made it private.

Fixes #10984
2020-02-27 09:19:23 -08:00
Egor Bogatov 7970f72216
Fix minor issue in debugging.md (#32597) 2020-02-20 09:16:59 -05:00
Dan Moseley 9900dfb4b2
Organize some markdowns and fix links (#1159)
* Move files into hierarchy

* fix more links

* Fix botr and features links

* Remove bad apostrophe

* spelling

* Apply suggestions from code review

Co-Authored-By: Youssef Victor <31348972+Youssef1313@users.noreply.github.com>

* Update docs/coding-guidelines/package-projects.md

Co-Authored-By: Jan Kotas <jkotas@microsoft.com>

Co-authored-by: Youssef Victor <31348972+Youssef1313@users.noreply.github.com>
Co-authored-by: Jan Kotas <jkotas@microsoft.com>
2019-12-26 15:22:57 -08:00