Commit Graph

68 Commits

Author SHA1 Message Date
Emmanuel Ferdman 9893d145eb
[browser] update incorrect references (#108352)
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
2024-10-18 21:43:30 +02:00
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
Dan Moseley b252fa50ad
remove corefx from md (#105275) 2024-07-22 14:55:00 -06: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
Mitchell Hwang 8b62de4256
[docs] Update mono android debugging docs (#99633) 2024-03-12 14:45:06 -04:00
Min 9d59bf6508
fix commands for debugging coreclr with lldb (#99345) 2024-03-05 22:19:53 -08:00
Pavel Savara d7acf9cd0b
[browser][MT] JSType.OneWay fire and forget (#98567) 2024-02-18 12:54:32 +01: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
Alexander Köplinger 425e74c6a0
[wasm] Fix a few more paths to in-tree emsdk (#96625)
It was moved from src/mono/wasm to src/mono/browser in https://github.com/dotnet/runtime/pull/95940
2024-01-08 19:33:24 +01:00
Aleksey Kliger (λgeek) 41d3412a4d
[docs] Howto configure the wasm runtime in Blazor projects in net8.0 (#93475)
* [docs] Howto configure the wasm runtime in Blazor projects in net8.0

* highlight the webAssembly key for a unified blazor project
2023-10-13 11:42:37 -04:00
Dan Moseley a0bff0ef92
Update debugging-vscode.md (#87338) 2023-06-13 14:01:37 -07: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
Zoltan Varga 2bc4f61536
[wasm] Automate patching the emsdk installation to add controlled indeterminism. (#75532) 2022-09-13 15:46:32 -04: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
Aleksey Kliger (λgeek) 4f835ae440
[docs] Debugging Libraries tests on Mono using VS Code (#73393)
* [docs] Debugging Libraries tests on Mono using VS Code

* markdown lint fixes

* A note about windows
2022-08-04 15:43:21 -04: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
Drew Kersnar 3b6b8123ec
Update VSCode library debugging documentation (#67925) 2022-04-18 14:00:32 -05:00
Aleksey Kliger (λgeek) fe0d9200f4
[docs] Collecting stack traces with native symbols on WebAssembly (#64383)
* [docs] Collecting stack traces with native symbols on WebAssembly

* Apply suggestions from code review

Co-authored-by: Larry Ewing <lewing@microsoft.com>
Co-authored-by: Ankit Jain <radical@gmail.com>

Co-authored-by: Larry Ewing <lewing@microsoft.com>
Co-authored-by: Ankit Jain <radical@gmail.com>
2022-01-27 14:16:21 -05:00
Mitchell Hwang 1c50993492
[Android][libs] Enable Internal.Console.Write in System.Private.CoreLib (#63949)
* [Android][libs] Enable Internal.Console.Write in System.Private.CoreLib

* [docs] Add debugging System.Private.CoreLib Internal.Console.Write

* Elaborate on debugging corelib log

* Address feedback
2022-01-24 15:06:56 -05: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
Aleksey Kliger (λgeek) 89cea2e659
[docs] Add instructions for debugging native runtime code on Android (#59183) 2021-09-17 09:01:13 -04:00
Viktor Hofer 22cee85aa0
Clean-up pkgproj leftovers in libs and apply fixes (#56899)
* Clean-up pkgproj leftovers in libs and apply fixes

Remove any pkgproj infrastructure that was only used by src/libraries
(which is the majority). Delete the packageindex *YAY*.
Update the documentation that covered the packageindex and the pkgprojs.

Avoid any incremental builds during packaging by removing
libraries-packages.proj and use src.proj for packaging instead. Make use
of the `GeneratePackageOnBuild` property to build package during the
allconfigurations without requiring a different entry target.

Fix the addition of the DocumentationFile during packaging when
`GeneratePackageOnBuid` is used by hooking onto the
`DocumentationProjectOutputGroup` that NuGet uses and replacing the
generated documentation file with the one that comes via the
intellisense package.
Also introduce a property to choose the generated documentation file
over the one from the intellisense package:
<UseIntellisenseDocumentationFile>false</UseIntellisenseDocumentationFile>

Removing a few leftover PackageDescription properties from the projects'
Directory.Build.props file.

Cleaning up properties in Directory.Build.props & Directory.Build.targets
files.

* Actually run packaging during the allconfigurations build

* Update docs

* make runtime specific pkgs non packable

* io.ports native pkg fixes
2021-08-06 12:01:36 +02:00
Zoltan Varga da580beb98
[mono] Update wasm debugging docs. (#52211) 2021-05-03 16:25:13 -04:00
Andrei Faber 30b31615b2
debugging.md - fixed incorrect paths (#51577) 2021-04-24 06:36:34 -07:00
Zoltan Varga bdf33aa9ca
Add wasm runtime debugging docs. (#51623) 2021-04-21 11:04:48 -04: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
Viktor Hofer 3553284bea
Rename mention to master branch to main (#48824) 2021-03-01 10:09:31 +01: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