[Glass] How to not cut ProfMonitor result?

Dale K. Henrichs dale.henrichs at gemtalksystems.com
Wed Dec 18 07:06:20 PST 2013


----- Original Message -----

| From: "Mariano Martinez Peck" <marianopeck at gmail.com>
| To: "Dale K. Henrichs" <dale.henrichs at gemtalksystems.com>
| Cc: glass at lists.gemtalksystems.com
| Sent: Wednesday, December 18, 2013 5:35:58 AM
| Subject: Re: [Glass] How to not cut ProfMonitor result?

| On Tue, Dec 17, 2013 at 5:25 PM, Dale K. Henrichs <
| dale.henrichs at gemtalksystems.com > wrote:

| | When you say cut, I assume that you are saying that the printString
| | is being truncated and ends with a '...)'?
| 

| | If so, then the issue is that GemStone by default truncates
| | printStrings to some pretty short level ... There are a number of
| | different places that impose different limits at different points
| | ... looks like collections are cut off at 700 elements and Strings
| | are cut off at 1000000 characters ... looking at the ProfMon code,
| | it looks like it is constructing the string directly so you must
| | have more than a 1000000 characters?
| 

| | If so you should edit CharacterCollection printString and bump up
| | the
| | limit ...
| 

| Ouch, I feel dumb.... for some reasons I didn't see that. Indeed,
| that was it. Needed to edit that in order to see the report.
No problem ... I would rather have a bunch of reports of non-problems than miss one real problem ... besides your questions remind/reveal short-comings in the system.... 

| Thanks Dale.

| | If that doesn't help then we'll need to dig deeper ...
| 

| | Dale
| 

| | | From: "Mariano Martinez Peck" < marianopeck at gmail.com >
| | 
| 
| | | To: glass at lists.gemtalksystems.com
| | 
| 
| | | Sent: Tuesday, December 17, 2013 11:38:55 AM
| | 
| 
| | | Subject: [Glass] How to not cut ProfMonitor result?
| | 
| 

| | | Hi guys,
| | 
| 

| | | Sorry, I feel stupid asking this.... I want to inspect the result
| | | of
| | | a ProfMonitor doing this:
| | 
| 

| | | (profMon reportDownTo: 100) inspect.
| | 
| 

| | | But the string is too long for the inspector and it is cut. I
| | | need
| | | to
| | | be able to see it all.
| | 
| 

| | | I tried many changes related to printStringLimitedTo: and friends
| | | but
| | | not luck. I get confused which part is in GemStone (printStrings
| | | and
| | | friends) and which ones in Pharo (inspector code)....
| | 
| 

| | | So... any idea how to get that?
| | 
| 

| | | Thanks,
| | 
| 

| | | --
| | 
| 
| | | Mariano
| | 
| 
| | | http://marianopeck.wordpress.com
| | 
| 

| | | _______________________________________________
| | 
| 
| | | Glass mailing list
| | 
| 
| | | Glass at lists.gemtalksystems.com
| | 
| 
| | | http://lists.gemtalksystems.com/mailman/listinfo/glass
| | 
| 

| --
| Mariano
| http://marianopeck.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20131218/a2054c79/attachment.html>


More information about the Glass mailing list