Skip to content

Commit

Permalink
get debug messages
Browse files Browse the repository at this point in the history
  • Loading branch information
marek-safar committed Dec 25, 2020
1 parent f58fd0f commit 94e855e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/mono/mono.proj
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
<PackageReference Include="$(MicrosoftNETCoreRuntimeICUTransportPackage)" PrivateAssets="all" Version="$(MicrosoftNETCoreRuntimeICUTransportVersion)" GeneratePathProperty="true" />
</ItemGroup>

<!-- CI specific build options -->
<!-- CI specific build options -->
<ItemGroup Condition="'$(ContinuousIntegrationBuild)' == 'true' and ('$(TargetsOSX)' == 'true')">
<_MonoCMakeArgs Include="-DENABLE_WERROR=1"/>
</ItemGroup>
Expand Down Expand Up @@ -188,7 +188,7 @@
</ItemGroup>
<!-- WASM specific options -->
<PropertyGroup Condition="'$(TargetsBrowser)' == 'true'">
<_MonoMinimal Condition="'$(Configuration)' == 'Release'">,assert_messages</_MonoMinimal>
<!-- <_MonoMinimal Condition="'$(Configuration)' == 'Release'">,assert_messages</_MonoMinimal> -->
</PropertyGroup>
<ItemGroup Condition="'$(TargetsBrowser)' == 'true'">
<_MonoCMakeArgs Include="-DENABLE_MINIMAL=ssa,com,jit,reflection_emit_save,portability,assembly_remapping,attach,verifier,appdomains,shadowcopy,security,sgen_marksweep_conc,sgen_split_nursery,sgen_gc_bridge,sgen_toggleref,logging,remoting,shared_perfcounters,sgen_debug_helpers,sgen_binary_protocol,soft_debug,interpreter,cleanup,mdb,gac,threads,eventpipe,qcalls$(_MonoMinimal)"/>
Expand Down
2 changes: 1 addition & 1 deletion src/mono/mono/metadata/loader.c
Original file line number Diff line number Diff line change
Expand Up @@ -1835,7 +1835,7 @@ mono_method_signature_checked_slow (MonoMethod *m, MonoError *error)
return m->signature;
}

g_assert (mono_metadata_token_table (m->token) == MONO_TABLE_METHOD);
g_assertf (mono_metadata_token_table (m->token) == MONO_TABLE_METHOD, "%s", m->name);
idx = mono_metadata_token_index (m->token);

sig = mono_metadata_blob_heap (img, sig_offset = mono_metadata_decode_row_col (&img->tables [MONO_TABLE_METHOD], idx - 1, MONO_METHOD_SIGNATURE));
Expand Down

0 comments on commit 94e855e

Please sign in to comment.