Book a Demo

Author Topic: howto select the scope for start and end recording  (Read 3655 times)

Josef Stadelmann

  • EA User
  • **
  • Posts: 59
  • Karma: +0/-0
  • as simple as possible, but not too simple
    • View Profile
howto select the scope for start and end recording
« on: May 09, 2015, 10:44:14 pm »
I have a PipeClient and a PipeServer, some 20 classes each. They use threads. I have managed to build / clean / rebuild / to start debugging etc.

I have difficulties to generate a sequence diagram SHOWING ALL what is going on. When I place a start-recording and end-recording mark at the begin and end of a every method in every class then I can see what I like to see. But placing a single start/end marker pair to a method which involves / invokes many class/method is a no go for me.


 

BTW: Stack-Deep is set to 10, but even in this case if I do not set extra start-recording markers every where, I don't get what I want.

It shows only the next class/method being called, but if that method calls another objects method, this is not recorded for me.

But if I place extra markers around this next class too, I can see that this next method is called as well.  

i.e. If that one then creates a thread which then runs a listen-loop dispatching up on receiving, to many potential (protocol) methods in different classes, I can only see this classes/methods being called when I place markers every where.

I remember a time when I set only one marker pair on a very large client and it returned me a very large trace which I turned into a very large sequence diagram.

What do I wrong? What has changed? What do I miss?


Then I found about marker set creation. And I populated 3 classes by RMB down, and I selected that each operation should be recorded, marker type Record function, Record Stack, Break Execution.

Then I started my program. and selected the new generated marker set.
While my program was running, I could observer that NO RECORDING TOOK PLACE. What did I do wrong ?

*****>>>
meanwhile, I have changed to 32 Bits for each project and subproject!
It is still the same.
[size=9][571430973]      Stack recording threshold set to 15 frames
[571431160]      Default Directory is E:\Users\C770817\SW-PROJEKTE\Spezpla-ISS-Root\PipeServer
[571431161]      Default Directory is E:\Users\C770817\SW-PROJEKTE\Spezpla-ISS-Root\PipeServer
[571431161]      E:\Users\C770817\SW-PROJEKTE\Spezpla-ISS-Root\PipeServer\bin\Debug\SpezplaPipeServer.exe targets .NET version v4.0.30319
[571431198]      Process created \Device\HarddiskVolume11\Users\C770817\SW-PROJEKTE\Spezpla-ISS-Root\PipeServer\bin\Debug\SpezplaPipeServer.exe running CLR version v4.0.30319
[571431199]      Debug process in domain DefaultDomain
[571431209]      Debug process in domain DefaultDomain
[571431220]      Debug process in domain SpezplaPipeServer.exe
[571444908]      Warning, all breakpoints failed to bind, check binaries built with debug information and source files synchronized with Model
[571444909]      Debug Session Ended
[/size]



Why do my breakpoints, my recording ,markers not bind. s soon as I start my code in debug mode, the break point & marker windows shows all recording markers with a "?" in it.

NOTE: I have synchronized my code with the model (reverse engineering code to model, and I have rebuild all from VS and by build script from EA.

Shall I report this as a BUG ?

« Last Edit: May 11, 2015, 11:20:19 pm by stadelma »