Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
69
rated 0 times [  72] [ 3]  / answers: 1 / hits: 25228  / 12 Years ago, thu, march 22, 2012, 12:00:00

I put a breakpoint in javascript and am testing some code with Chrome. I also added a watch expression for the value.



Chrome breaks at the breakpoint and shows the value. However the value is very long, and it doesn't display it all. I move the window separator to the left but it stops at mid screen. When I double click on the watched variable it wants to edit the expression. When I single click and drag on it, it selects the visible text, but not all. Right clicking does nothing.



This is what I see



url: m=mtgoxUSD&SubmitButton=Draw&r=&i=&c=0&s=&e=&Prev=&Next=&t=S&b=&a1=&m1=10&a2=&m2=25&x=0...


I want to copy the whole expression without the ... in the end. How can I do that?


More From » debugging

 Answers
2

Here's what I do.



Edit: This works in the Scope Variables which is below the Watch Expressions panel.




  1. Double click on the value to switch to edit mode.


  2. Ctrl+A (windows) or Cmd+A (mac) to select the entire value.


  3. Ctrl+C (or Cmd+C) to copy.



[#86681] Tuesday, March 20, 2012, 12 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
kaleyv

Total Points: 259
Total Questions: 99
Total Answers: 107

Location: Saint Helena
Member since Tue, Nov 3, 2020
4 Years ago
;