Answers.Body: <p>:( it is hard-coded.  I changed $maxArgLen in CRM/Core/Error.php and now I can see the full backtrace.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-09-30T21:15:18.600Z
Answers.LastActivityDate: 2015-09-30T21:15:18.600Z
Answers.UserDisplayName: Sonicthoughts
Answers.Body: <p>Or call 
  <code>CRM_Core_Error::debug('message',CRM_Core_Error::formatBacktrace(debug_backtrace(), TRUE, 300));</code></p>
  
  <p>where 300 is the maximum characters allowed for each arguments</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-09-30T21:32:44.657Z
Answers.Text: this is perfect if i call it manually, but in my case it was triggered by a fatal error i'm trying to debug.
Answers.UserDisplayName: Sonicthoughts
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-09-30T21:47:59.043Z
Answers.Text: Well then your were right about changing $maxArgLen
Answers.UserDisplayName: Monish Deb
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-09-30T21:31:16.993Z
Answers.LastActivityDate: 2015-09-30T21:31:16.993Z
Answers.UserDisplayName: Monish Deb
Body: <p>Log files include a backtrace which is very helpful for debugging but I find the lines get truncated so I cannot see all the values.  After about 200 characters I usually see an ellipsis ... and the line is truncated. can this be extended to see more info?</p>
  
Tags: <php><debugging><logs>
Title: How do I increase the backtrace line length
ThreadText: # How do I increase the backtrace line length
  
  (Asked by: username_0 on 2015-09-30)
  
  Log files include a backtrace which is very helpful for debugging but I find the lines get truncated so I cannot see all the values. After about 200 characters I usually see an ellipsis ... and the line is truncated. can this be extended to see more info?
  
  **Tags:** php, debugging, logs
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_0 on 2015-09-30. Score: 2
  
  :( it is hard-coded. I changed $maxArgLen in CRM/Core/Error.php and now I can see the full backtrace.
  
  
  ---
  
  ### Answer by username_1 on 2015-09-30. Score: 1
  
  Or call
  `CRM_Core_Error::debug('message',CRM_Core_Error::formatBacktrace(debug_backtrace(), TRUE, 300));`
  
  where 300 is the maximum characters allowed for each arguments
  
  > **Comments:**
  > **username_0**: this is perfect if i call it manually, but in my case it was triggered by a fatal error i'm trying to debug.  
  > **username_1**: Well then your were right about changing $maxArgLen  
  
  ---
  
  