mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
98_fhemdebug.pm: add some logging to identify crash source (Forum #73490)
git-svn-id: https://svn.fhem.de/fhem/trunk@15579 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
8ffbeacd76
commit
f4b5a1950f
@ -132,10 +132,12 @@ fhemdebug_memusage($)
|
||||
if($mname eq "main::" &&
|
||||
($n eq "modules" || $n eq "defs" || $n eq "readyfnlist")) {
|
||||
for my $mn (keys %{$main::{$n}}) {
|
||||
Log 5, "$mname$n::$mn";
|
||||
$ts{"$mname$n::$mn"} = Devel::Size::total_size($main::{$n}{$mn});
|
||||
}
|
||||
|
||||
} else {
|
||||
Log 5, "$mname$n";
|
||||
$ts{"$mname$n"} = Devel::Size::total_size($h->{$n});
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user