Skip to content
This repository
Browse code

Work in progress

  • Loading branch information...
commit 5d3ad72ea6a6739a0f362d8b7ed1554dea519fd5 1 parent bee0edf
authored March 23, 2009

Showing 1 changed file with 11 additions and 0 deletions. Show diff stats Hide diff stats

  1. 11  ipydbg.py
11  ipydbg.py
@@ -424,12 +424,23 @@ def _breakpoint_mgmt(self, keyinfo):
424 424
                 print "\nDelete Breakpoint Not Implemented"           
425 425
               elif k.Key == ConsoleKey.A:
426 426
                 print "\nAdd Breakpoint Not Implemented"           
  427
+                '''Console.Write(' ')
  428
+                set_bp = Console.ReadLine().split(":")
  429
+                for doc in self._get_symbol_docs():
  430
+                   if '''
427 431
               elif k.Key == ConsoleKey.Q:
428 432
                   print "\nExiting BP Management"           
429 433
                   break
430 434
               else:
431 435
                   print "\nPlease enter a valid command"
432 436
             
  437
+    def _get_symbol_docs(self):
  438
+        for a in self.active_appdomain.Assemblies:
  439
+            for m in a.Modules:
  440
+                if m.IsDynamic and m.SymbolReader != None:
  441
+                    for d in m.SymbolReader.GetDocuments():
  442
+                        yield d
  443
+               
433 444
     def _input(self):
434 445
         offset, sp = get_frame_location(self.active_thread.ActiveFrame)
435 446
         lines = self._get_file(sp.doc.URL)

0 notes on commit 5d3ad72

Please sign in to comment.
Something went wrong with that request. Please try again.