These are chat archives for akkadotnet/akka.net

7th
Dec 2017
Rohan Relan
@hanrelan
Dec 07 2017 03:47
hi
i have a question about debugging when using akka
I'm getting an "Exception thrown: 'System.ArgumentNullException' in Akka.dll"
in my output window but I can't see the line number of the exception
or any other information
is there a way to get Akka to allow exceptions to raise as normal within actors
Rohan Relan
@hanrelan
Dec 07 2017 04:00
or to get the stacktrace for the exception
Bart de Boer
@boekabart
Dec 07 2017 05:43
step 1 would be to un-set 'just my code' in Visual Studio , and maybe enable all breaking on this particular exception (even if caught) in debug exception settings
then hope you can get the symbols downloaded...
Rohan Relan
@hanrelan
Dec 07 2017 05:51
hmm i think i found the problem
potentially I was sending null to PipeTo
I'm not sure if that's allowed
Bart de Boer
@boekabart
Dec 07 2017 09:54
I'm sure it's not ;)
HermansG
@HermansG
Dec 07 2017 15:07
We encounter regularly the need that the behaviour of an actor must have one or more Receive methods in common for all states. In such cases we use a General()' method that is executed in every state transistionBecome(..). Is this a bad design? When not, is there an easier possibility in Akka to defineRecieve`-behaviours for all states?
Alexander Dorfman
@alexander-dorfman
Dec 07 2017 16:09
Hi my name is Alexander, I work for big logistics company and recently discovered Akka (and similar Actor-Based frameworks). Today, I started going through internals of Akka, by stepping through the tests/benchmarks (PingPong in particular) in debug mode. What I am finding, is that for some of the internal classes, there is no documentation , only "TBD".
Would it be a good idea, if I can document some of the classes marked with "TBD" ?
Bartosz Sypytkowski
@Horusiath
Dec 07 2017 16:12
@alexander-dorfman TBD markers have been generated by the tools to mark missing parts of the xml docs. Contributions on that field are always valuable.
Alexander Dorfman
@alexander-dorfman
Dec 07 2017 16:17
@Horusiath Awesome ! I will see what I can do
Bart de Boer
@boekabart
Dec 07 2017 22:04
@HermansG we do exactly the same - we just call it OnBecome()