voltron icon indicating copy to clipboard operation
voltron copied to clipboard

nothing happe in cdb

Open mutepigz opened this issue 6 years ago • 6 comments

I use ConEmu to work it , but nothing happen.

0:000> .load pykd
0:000> !py --global C:\Users\random\Desktop\workplace\pykd\voltron\voltron\entry.py
Voltron loaded.
0:000> p
ntdll!LdrpDoDebuggerBreak+0x31:
00000000`7702cb61 eb00            jmp     ntdll!LdrpDoDebuggerBreak+0x33 (00000000`7702cb63)
0:000>
ntdll!LdrpDoDebuggerBreak+0x33:
00000000`7702cb63 4883c438        add     rsp,38h

mutepigz avatar May 19 '18 08:05 mutepigz

Are you opening views in other terminals?

On May 19, 2018, at 1:05 AM, mutepigz [email protected] wrote:

I use ConEmu to work it , but nothing happen.

0:000> .load pykd 0:000> !py --global C:\Users\random\Desktop\workplace\pykd\voltron\voltron\entry.py Voltron loaded. 0:000> p ntdll!LdrpDoDebuggerBreak+0x31: 000000007702cb61 eb00 jmp ntdll!LdrpDoDebuggerBreak+0x33 (000000007702cb63) 0:000> ntdll!LdrpDoDebuggerBreak+0x33: 00000000`7702cb63 4883c438 add rsp,38h — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/snare/voltron/issues/238, or mute the thread https://github.com/notifications/unsubscribe-auth/AAey8X5TOtAPWbR_91qIi62oNejKfpY2ks5tz9I2gaJpZM4UFnz7.

snare avatar May 19 '18 08:05 snare

yeah , i also used git bash, but nothing happend.

mutepigz avatar May 19 '18 09:05 mutepigz

What do you mean “nothing happened”? What do the views look like? Are you stepping in the debugger/hitting a breakpoint or something?

On May 19, 2018, at 2:18 AM, mutepigz [email protected] wrote:

yeah , i also used git bash, but nothing happend.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/snare/voltron/issues/238#issuecomment-390391965, or mute the thread https://github.com/notifications/unsubscribe-auth/AAey8QgW6HEMwyX-wl3dg4vE0mWta0sNks5tz-NhgaJpZM4UFnz7.

snare avatar May 19 '18 22:05 snare

nothing happened means it's the same as the time when i haven't used voltron

0:000> .load pykd
0:000> !py --global C:\Users\random\Desktop\workplace\pykd\voltron\voltron\entry.py
Voltron loaded.
0:000> p
ntdll!LdrpDoDebuggerBreak+0x31:
00000000`7702cb61 eb00            jmp     ntdll!LdrpDoDebuggerBreak+0x33 (00000000`7702cb63)
0:000>
ntdll!LdrpDoDebuggerBreak+0x33:
00000000`7702cb63 4883c438        add     rsp,38h

there is no view and the color is still white.

mutepigz avatar May 20 '18 07:05 mutepigz

To be clear: nothing will happen inside the CDB console. Voltron is for attaching views in OTHER consoles to debuggers.

You need to open a new console git bash window and run:

$ voltron view reg

Or whatever. Read the documentation.

On May 20, 2018, at 12:04 AM, mutepigz [email protected] wrote:

nothing happened means it's the same as the time when i haven't used voltron

0:000> .load pykd 0:000> !py --global C:\Users\random\Desktop\workplace\pykd\voltron\voltron\entry.py Voltron loaded. 0:000> p ntdll!LdrpDoDebuggerBreak+0x31: 000000007702cb61 eb00 jmp ntdll!LdrpDoDebuggerBreak+0x33 (000000007702cb63) 0:000> ntdll!LdrpDoDebuggerBreak+0x33: 00000000`7702cb63 4883c438 add rsp,38h there is no view and the color is still white.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/snare/voltron/issues/238#issuecomment-390462298, or mute the thread https://github.com/notifications/unsubscribe-auth/AAey8b-NLqqRyjqSLsS-rK5nFk_12_tSks5t0RVvgaJpZM4UFnz7.

snare avatar May 20 '18 07:05 snare

oh, thanx very much.. but new problem appear :

> voltron view stack

Exception in thread Thread-1:
Traceback (most recent call last):
  File "C:\Python27\lib\threading.py", line 801, in __bootstrap_inner
    self.run()
  File "C:\Python27\lib\threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "C:\Python27\lib\site-packages\voltron-0.1.7-py2.7.egg\voltron\core.py", line 548, in run
    self.update()
  File "C:\Python27\lib\site-packages\voltron-0.1.7-py2.7.egg\voltron\core.py", line 511, in update
    reqs = self.build_requests()
  File "C:\Python27\lib\site-packages\voltron-0.1.7-py2.7.egg\voltron\plugins\view\memory.py", line 215, in build_requests
    return super(StackView, self).build_requests()
  File "C:\Python27\lib\site-packages\voltron-0.1.7-py2.7.egg\voltron\plugins\view\memory.py", line 46, in build_requests
    height, width = self.window_size()
  File "C:\Python27\lib\site-packages\voltron-0.1.7-py2.7.egg\voltron\view.py", line 310, in window_size
    height, width = subprocess.check_output(['stty', 'size']).split()
  File "C:\Python27\lib\subprocess.py", line 216, in check_output
    process = Popen(stdout=PIPE, *popenargs, **kwargs)
  File "C:\Python27\lib\subprocess.py", line 394, in __init__
    errread, errwrite)
  File "C:\Python27\lib\subprocess.py", line 644, in _execute_child
    startupinfo)
WindowsError: [Error 2]

mutepigz avatar May 20 '18 07:05 mutepigz